After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 361252 - Memory leak in udpsrc
Memory leak in udpsrc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal minor
: 0.10.5
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-10 20:05 UTC by Sebastien Cote
Modified: 2006-10-11 08:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (1.30 KB, patch)
2006-10-10 20:06 UTC, Sebastien Cote
committed Details | Review

Description Sebastien Cote 2006-10-10 20:05:55 UTC
There is a memory leak in the udpsrc because the "multi_group" and "uri" strings are not freed when the element is destroyed.
Comment 1 Sebastien Cote 2006-10-10 20:06:43 UTC
Created attachment 74436 [details] [review]
fix

Free the strings in finalize.
Comment 2 Wim Taymans 2006-10-11 08:35:50 UTC
        Patch by: Sebastien Cote <sebas642 at yahoo dot ca>

        * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
        (gst_udpsrc_finalize), (gst_udpsrc_create), (gst_udpsrc_set_uri),
        (gst_udpsrc_start):
        Fix some leaks in caps and uris. Fixes #361252.