mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
videodecoder: don't leak message strings when error is not fatal
This commit is contained in:
parent
0ea6526770
commit
6c0c3eb967
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue