summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/mpv/files/0.17.0/mpv-0.17.0-fix-video-frame-info-memleak.patch')
-rw-r--r--media-video/mpv/files/0.17.0/mpv-0.17.0-fix-video-frame-info-memleak.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-video/mpv/files/0.17.0/mpv-0.17.0-fix-video-frame-info-memleak.patch b/media-video/mpv/files/0.17.0/mpv-0.17.0-fix-video-frame-info-memleak.patch
new file mode 100644
index 000000000000..eee65cc5705c
--- /dev/null
+++ b/media-video/mpv/files/0.17.0/mpv-0.17.0-fix-video-frame-info-memleak.patch
@@ -0,0 +1,19 @@
+commit e232f1a731a9089a13d88def6c1f2c1a069a6353
+Author: trUSTssc <trUSTssc@users.noreply.github.com>
+Date: Sun Apr 24 20:11:36 2016 +0200
+
+player: fix memleak when using video-frame-info
+---
+
+diff --git a/player/command.c b/player/command.c
+index 7f65534..738865b 100644
+--- a/player/command.c
++++ b/player/command.c
+@@ -2581,6 +2581,7 @@ static int mp_property_video_frame_info(void *ctx, struct m_property *prop,
+ {0}
+ };
+
++ talloc_free(f);
+ return m_property_read_sub(props, action, arg);
+ }
+