Resource leak in Index::save() (Feature #1382)


Added by msrtis - over 13 years ago. Updated over 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Marius Muja % Done:

0%

Category:flann
Target version:-
Difficulty: Pull request:

Description

There is a file handle that is not closed in a specific case of Index::save().

Attached patch should resolve the bug.

This bug was found with cppcheck.


IndexSave_ResourceLeakFix.diff (401 Bytes) msrtis -, 2011-09-21 08:11 am


Associated revisions

Revision 78bbefec
Added by Marius Muja over 13 years ago

Applied fix from #1382

Revision 83be2260
Added by Roman Donchenko over 11 years ago

Merge pull request #1382 from nghiaho12:cascade_classifier

History

Updated by Marius Muja over 13 years ago

Applied in r6757.

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF