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

This resolves issue libgit2/libgit2#2715
Please do not leave comments in the codebase. Simply removing the line of code altogether is fine, as we have Git's history to keep track of it. :)