summaryrefslogtreecommitdiff
path: root/test/pdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2007-03-02 09:32:14 -0800
committerCarl Worth <cworth@cworth.org>2007-03-02 09:32:14 -0800
commit02f2ece88dbceaf2466bd61410dd8e88a4c95e08 (patch)
tree15c3d51ae8d3ad1368cf6ed8a1b05a9d7556ed2d /test/pdiff
parent6da7f140334835be9a972db75de78d99b8bd24b1 (diff)
downloadcairo-02f2ece88dbceaf2466bd61410dd8e88a4c95e08.tar.gz
Fix leak in pdiff lpyramid
This was a leak in the test suite only, (and then only when tests failed).
Diffstat (limited to 'test/pdiff')
-rw-r--r--test/pdiff/lpyramid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pdiff/lpyramid.c b/test/pdiff/lpyramid.c
index de72d8ec3..02fcf2b41 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