summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}