mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
libs/gst/base/gstcollectpads.c: When rebuilding the pad list, don't leak the previous list.
Original commit message from CVS: * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads): When rebuilding the pad list, don't leak the previous list.
This commit is contained in:
parent
eb3f062cc1
commit
f55a023510
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-05-30 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* 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 <wim@fluendo.com>
|
||||
|
||||
Patch by: Lutz Mueller <lutz at topfrose dot de>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue