Bug 514961 - Free resources allocated by TextSearchJob

The fields fileCharSequenceProvider, previousLocationFromFile,
occurencesForPreviousLocation & charsequenceForPreviousLocation are
allocated during the run method and are not used after job execution.
Especially charsequenceForPreviousLocation is problematic and can result
in an OOME on large search scope.

Change-Id: Ic7992778263afa5910fabf1ca56077ab5b072884
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
1 file changed