IndexSave_ResourceLeakFix.diff

msrtis -, 2011-09-21 08:11 am

Download (401 Bytes)

 
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