cvCorrectMatches memory leak (Bug #222)


Added by Georgios Petrou almost 15 years ago. Updated almost 15 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:imgproc, video
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In the function cvCorrectMatches in cvTriangulate.cpp there is a memory leak in the result and polynomial matrices.
Add

cvReleaseMat(&result);
cvReleaseMat(&polynomial);

in the end of the function to fix it.


Associated revisions

Revision 9b09f09b
Added by Vadim Pisarevsky about 12 years ago

Merge pull request #222 from taka-no-me:perf_verify_sanity

History

Updated by anonymous - almost 15 years ago

SVN version should not have this problem anymore

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

Also available in: Atom PDF