summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrUSTssc <trUSTssc@users.noreply.github.com>2016-04-24 20:11:36 +0200
committerwm4 <wm4@nowhere>2016-04-24 20:44:01 +0200
commite232f1a731a9089a13d88def6c1f2c1a069a6353 (patch)
treee3d3a351b56711f5ad4e782758e6addb9991ac12
parent5800d1845ff1ff3271d5c5ca4624de3a3c78a312 (diff)
downloadmpv-e232f1a731a9089a13d88def6c1f2c1a069a6353.tar.bz2
mpv-e232f1a731a9089a13d88def6c1f2c1a069a6353.tar.xz
player: fix memleak when using video-frame-info
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 7f65534d84..738865bce2 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);
}