Commit 6c0c3eb9 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

videodecoder: don't leak message strings when error is not fatal

parent 0ea65267
......@@ -3174,6 +3174,8 @@ _gst_video_decoder_error (GstVideoDecoder * dec, gint weight,
domain, code, txt, dbg, file, function, line);
} else {
g_free (txt);
g_free (dbg);
return GST_FLOW_OK;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment