summaryrefslogtreecommitdiff
path: root/extra/mjpegtools/png2yuv-fix-memleak.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mjpegtools/png2yuv-fix-memleak.patch')
-rw-r--r--extra/mjpegtools/png2yuv-fix-memleak.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/mjpegtools/png2yuv-fix-memleak.patch b/extra/mjpegtools/png2yuv-fix-memleak.patch
new file mode 100644
index 000000000..a6f03a4e1
--- /dev/null
+++ b/extra/mjpegtools/png2yuv-fix-memleak.patch
@@ -0,0 +1,10 @@
+--- mjpegtools-1.9.0/lavtools/png2yuv.c.orig 2010-01-17 14:26:24.000000000 +0100
++++ mjpegtools-1.9.0/lavtools/png2yuv.c 2010-01-17 14:27:53.000000000 +0100
+@@ -407,6 +407,7 @@
+ return 2;
+ }
+
++ png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
+ fclose(pngfile);
+
+ return 1;