Fixed memory issue with NSDataDetector
Removes unused pointer error
Merge branch 'memory_issue' into limit_support