summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2011-07-15 00:52:21 +0200
committerGrigori Goronzy <greg@blackbox>2011-07-15 15:00:14 +0200
commitfa7e99e3d8a78805e9acfb327786307d91c20104 (patch)
treec0403de7fbd2583ff07f4d80422e6706738b1243
parentdd340a43024966d284f73cce0db9aa20e78cdbdd (diff)
downloadlibass-fa7e99e3d8a78805e9acfb327786307d91c20104.tar.bz2
libass-fa7e99e3d8a78805e9acfb327786307d91c20104.tar.xz
test: free image
Reduces the noise in valgrind output.
-rw-r--r--test/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c
index 432a44f..d6cd9b8 100644
--- a/test/test.c
+++ b/test/test.c
@@ -194,6 +194,8 @@ int main(int argc, char *argv[])
ass_library_done(ass_library);
write_png(imgfile, frame);
+ free(frame->buffer);
+ free(frame);
return 0;
}