mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
tests: camerabin2: Fix message leak in tests
This commit is contained in:
parent
9de92cf9dc
commit
2df5760a79
1 changed files with 2 additions and 0 deletions
|
@ -612,6 +612,8 @@ wait_for_element_message (GstElement * camera, const gchar * name,
|
|||
|
||||
if (gst_structure_has_name (st, name))
|
||||
break;
|
||||
else
|
||||
gst_message_unref (msg);
|
||||
} else {
|
||||
gst_message_unref (msg);
|
||||
msg = NULL;
|
||||
|
|
Loading…
Reference in a new issue