mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
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.
This commit is contained in:
parent
b375dde1a7
commit
444f73582d
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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));
|
||||
|
|
Loading…
Reference in a new issue