Commit 444f7358 authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/adder/gstadder.c: Don't leak pad name.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_request_new_pad):
Don't leak pad name.
parent b375dde1
2006-05-29 Wim Taymans <wim@fluendo.com>
* gst/adder/gstadder.c: (gst_adder_request_new_pad):
Don't leak pad name.
2006-05-29 Wim Taymans <wim@fluendo.com>
 
* gst/adder/gstadder.c: (gst_adder_query_duration),
......
......@@ -569,6 +569,7 @@ gst_adder_request_new_pad (GstElement * element, GstPadTemplate * templ,
name = g_strdup_printf ("sink%d", adder->numpads);
newpad = gst_pad_new_from_template (templ, name);
g_free (name);
gst_pad_set_getcaps_function (newpad,
GST_DEBUG_FUNCPTR (gst_pad_proxy_getcaps));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment