diff --git a/ChangeLog b/ChangeLog index fee2058087..4f0a20edb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-30 Wim Taymans + + * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads): + When rebuilding the pad list, don't leak the previous list. + 2006-05-30 Wim Taymans Patch by: Lutz Mueller diff --git a/libs/gst/base/gstcollectpads.c b/libs/gst/base/gstcollectpads.c index 90ba8f3399..7d11fc6e5c 100644 --- a/libs/gst/base/gstcollectpads.c +++ b/libs/gst/base/gstcollectpads.c @@ -779,6 +779,7 @@ gst_collect_pads_check_pads (GstCollectPads * pads) GSList *collected; /* clear list and stats */ + g_slist_free (pads->data); pads->data = NULL; pads->numpads = 0; pads->queuedpads = 0;