From 6c0c3eb967ac1dc6d8573e1681a05133fab25767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 20 Oct 2012 11:37:33 +0100 Subject: [PATCH] videodecoder: don't leak message strings when error is not fatal --- gst-libs/gst/video/gstvideodecoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index 9e830ff0dd..a62c9f83fc 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -3174,6 +3174,8 @@ _gst_video_decoder_error (GstVideoDecoder * dec, gint weight, domain, code, txt, dbg, file, function, line); return GST_FLOW_ERROR; } else { + g_free (txt); + g_free (dbg); return GST_FLOW_OK; } }