From: Jan Schmidt Date: Thu, 8 Oct 2009 01:20:51 +0000 (+0100) Subject: checks: Fix string leaks in the new childproxy test X-Git-Tag: RELEASE-0.10.26~389 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=077ca39def56d83204a3cd3e7c37deefcd828d59;p=platform%2Fupstream%2Fgstreamer.git checks: Fix string leaks in the new childproxy test --- diff --git a/tests/check/gst/gstchildproxy.c b/tests/check/gst/gstchildproxy.c index 43370ff..a4249ff 100644 --- a/tests/check/gst/gstchildproxy.c +++ b/tests/check/gst/gstchildproxy.c @@ -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); }