[opencv] 04/33: fixed memory leaks in floodfill tests

Mattia Rizzolo mattia at debian.org
Tue Oct 4 17:51:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to annotated tag 2.4.12.2
in repository opencv.

commit ba3b902da7801fdae78a667c47e81f71f5d212b0
Author: Ilya Lavrenov <ilya.lavrenov at itseez.com>
Date:   Sat Aug 15 10:09:31 2015 +0300

    fixed memory leaks in floodfill tests
    
    (cherry picked from commit d1b882ddcf54e52ac70bb17540c84c4a93553add)
---
 modules/imgproc/test/test_floodfill.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/imgproc/test/test_floodfill.cpp b/modules/imgproc/test/test_floodfill.cpp
index e46e9e1..8293a12 100644
--- a/modules/imgproc/test/test_floodfill.cpp
+++ b/modules/imgproc/test/test_floodfill.cpp
@@ -501,6 +501,8 @@ _exit_:
     comp[6] = s1;
     comp[7] = s2;
     comp[8] = 0;
+
+    cvReleaseMemStorage(&st);
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list