IndexSave_ResourceLeakFix.diff
opencv/modules/flann/src/miniflann.cpp (working copy) | ||
---|---|---|
644 | 644 |
if( algo == FLANN_INDEX_LSH ) |
645 | 645 |
{ |
646 | 646 |
saveIndex_<LshIndex>(this, index, fout); |
647 |
fclose(fout); |
|
647 | 648 |
return; |
648 | 649 |
} |
649 | 650 |
|