[cairo-commit] test/pdiff
Carl Worth
cworth at kemper.freedesktop.org
Fri Mar 2 09:32:25 PST 2007
test/pdiff/lpyramid.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree 02f2ece88dbceaf2466bd61410dd8e88a4c95e08 (from 6da7f140334835be9a972db75de78d99b8bd24b1)
Author: Carl Worth <cworth at cworth.org>
Date: Fri Mar 2 09:32:14 2007 -0800
Fix leak in pdiff lpyramid
This was a leak in the test suite only, (and then only when tests failed).
diff --git a/test/pdiff/lpyramid.c b/test/pdiff/lpyramid.c
index de72d8e..02fcf2b 100644
--- a/test/pdiff/lpyramid.c
+++ b/test/pdiff/lpyramid.c
@@ -98,6 +98,8 @@ lpyramid_destroy (lpyramid_t *pyramid)
for (i=0; i<MAX_PYR_LEVELS; i++)
free (pyramid->levels[i]);
+
+ free (pyramid);
}
float
More information about the cairo-commit
mailing list