Potential for memory leak in matching.cpp (Patch #1391)
Description
There is the potential for a memory leak in getFFTImageFilterObject() if the implementation of allocFFTImage() ever changes.
The attached patch should remove the possibility that a memory leak could occur.
This potential bug was found with cppcheck 1.50.
Related issues
duplicates Bug #1663: cppcheck: objdetect/src/matching.cpp, memory leaks | Done | 2012-03-08 |
History
Updated by Kirill Kornyakov about 13 years ago
- Tracker changed from Feature to Patch
Updated by Marina Kolpakova almost 13 years ago
Duplicate of #1663
- Status changed from Open to Cancelled
- Target version set to 2.4.0
- Assignee changed from Vadim Pisarevsky to Marina Kolpakova