Fix for memory leak issue in indexer.c, that surfaces on windows
Merge pull request #2720 from ravindp/master

Fix for memory leak issue in indexer.c, that surfaces on windows