diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-13 10:00:40 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-13 10:00:40 +0100 |
commit | c57496507be0f17bcee37c523da196eae547fdf0 (patch) | |
tree | f4b9f28a51c17aeb76032027fc72a372eb3ec047 /src | |
parent | 9ef73e44ebbe9ee63bb364fe5afe530077687df5 (diff) | |
download | advtime-c57496507be0f17bcee37c523da196eae547fdf0.tar.gz advtime-c57496507be0f17bcee37c523da196eae547fdf0.tar.bz2 advtime-c57496507be0f17bcee37c523da196eae547fdf0.zip |
frame_to_pgm: Oops, acutally free resources..
Diffstat (limited to 'src')
-rw-r--r-- | src/.gitignore | 1 | ||||
-rw-r--r-- | src/frame_to_pgm.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore index 75500be..1209931 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1 +1,2 @@ decode_frame +frame_to_pgm diff --git a/src/frame_to_pgm.c b/src/frame_to_pgm.c index f018099..f6a7dc9 100644 --- a/src/frame_to_pgm.c +++ b/src/frame_to_pgm.c @@ -41,4 +41,7 @@ main(int argc, char **argv) pgm_save(frame->data, frame->stride, frame->width, frame->height, argv[2]); + + video_decode_free_frame(&frame); + video_decode_uninit(&vd); } |