Update of /cvsroot/wavelet/Wavelet/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31074/test
Modified Files:
imagearray.cc videos.cc
Log Message:
Fixed memory leaks found by Florian Stumpf and Johan Ehlers.
Index: videos.cc
===================================================================
RCS file: /cvsroot/wavelet/Wavelet/test/videos.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** videos.cc 10 Aug 2005 09:35:23 -0000 1.8
--- videos.cc 15 Aug 2005 16:24:23 -0000 1.9
***************
*** 367,370 ****
--- 367,371 ----
assert (strstr (error.what (), "not a VideoArray") != NULL);
}
+ DELETE (va2);
dump (va);
Index: imagearray.cc
===================================================================
RCS file: /cvsroot/wavelet/Wavelet/test/imagearray.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** imagearray.cc 10 Aug 2005 09:35:23 -0000 1.3
--- imagearray.cc 15 Aug 2005 16:24:23 -0000 1.4
***************
*** 173,176 ****
--- 173,178 ----
ia->to (0, 0, 9);
+ DELETE (ia2);
+
/*
* Forth pass: produce a real small one:
|