Fix for memory leak issue in indexer.c, that surfaces on windows
Fix for misleading "missing delta bases" error - Fix #2721.