mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
check: fix a leak in the bus unit test
This commit is contained in:
parent
1037fd9919
commit
8d27621e40
1 changed files with 1 additions and 0 deletions
|
@ -589,6 +589,7 @@ GST_START_TEST (test_custom_main_context)
|
|||
source = gst_bus_create_watch (bus);
|
||||
g_source_attach (source, ctx);
|
||||
g_source_set_callback (source, (GSourceFunc) cb_bus_call, loop, NULL);
|
||||
g_source_unref (source);
|
||||
gst_object_unref (bus);
|
||||
|
||||
GST_INFO ("starting pipeline");
|
||||
|
|
Loading…
Reference in a new issue