mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
checks: Fix string leaks in the new childproxy test
This commit is contained in:
parent
69bce376b0
commit
077ca39def
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ GST_START_TEST (test_get)
|
|||
|
||||
gst_child_proxy_get (GST_OBJECT (pipeline), "name", &name, NULL);
|
||||
fail_if (g_strcmp0 ("foo", name));
|
||||
g_free (name);
|
||||
|
||||
gst_object_unref (pipeline);
|
||||
}
|
||||
|
@ -52,6 +53,7 @@ GST_START_TEST (test_child_get)
|
|||
|
||||
gst_child_proxy_get (GST_OBJECT (pipeline), "src::name", &name, NULL);
|
||||
fail_if (g_strcmp0 ("src", name));
|
||||
g_free (name);
|
||||
|
||||
gst_object_unref (pipeline);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue