mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
playbin2: Don't leak the GError and debug string when parsing error messages
This commit is contained in:
parent
f3b3dd33f3
commit
16dec615cb
1 changed files with 2 additions and 0 deletions
|
@ -2017,6 +2017,8 @@ gst_play_bin_handle_message (GstBin * bin, GstMessage * msg)
|
|||
new_msg = gst_message_new_warning (msg->src, err, debug);
|
||||
|
||||
gst_message_unref (msg);
|
||||
g_error_free (err);
|
||||
g_free (debug);
|
||||
msg = new_msg;
|
||||
|
||||
REMOVE_SIGNAL (group->suburidecodebin, group->sub_pad_added_id);
|
||||
|
|
Loading…
Reference in a new issue