[FFmpeg-devel] [PATCH] ffprobe: free string_validation_replacement.
Michael Niedermayer
michaelni at gmx.at
Tue Dec 3 18:44:29 CET 2013
Fixes memleak in fate tests
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
ffprobe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffprobe.c b/ffprobe.c
index 43f830b..7d5a2b5 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -364,6 +364,7 @@ static void writer_close(WriterContext **wctx)
if ((*wctx)->writer->priv_class)
av_opt_free((*wctx)->priv);
av_freep(&((*wctx)->priv));
+ av_freep(&(*wctx)->string_validation_replacement);
av_freep(wctx);
}
--
1.7.9.5
More information about the ffmpeg-devel
mailing list