diff --git a/ChangeLog b/ChangeLog index 58bf67586b..aabd6d71fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-29 Wim Taymans + + * gst/adder/gstadder.c: (gst_adder_request_new_pad): + Don't leak pad name. + 2006-05-29 Wim Taymans * gst/adder/gstadder.c: (gst_adder_query_duration), diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 45528ef1eb..d5361ab4d6 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -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));