Commit 78bbefec authored by Marius Muja's avatar Marius Muja

Applied fix from #1382

parent 5029dfed
...@@ -644,6 +644,7 @@ void Index::save(const std::string& filename) const ...@@ -644,6 +644,7 @@ void Index::save(const std::string& filename) const
if( algo == FLANN_INDEX_LSH ) if( algo == FLANN_INDEX_LSH )
{ {
saveIndex_<LshIndex>(this, index, fout); saveIndex_<LshIndex>(this, index, fout);
fclose(fout);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment