projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69bce37
)
checks: Fix string leaks in the new childproxy test
author
Jan Schmidt
<thaytan@noraisin.net>
Thu, 8 Oct 2009 01:20:51 +0000
(
02:20
+0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Thu, 8 Oct 2009 01:20:51 +0000
(
02:20
+0100)
tests/check/gst/gstchildproxy.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstchildproxy.c
b/tests/check/gst/gstchildproxy.c
index
43370ff
..
a4249ff
100644
(file)
--- 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);
}