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 754869 - multiudpsink: fix GError memory leak in hostname lookup failure code path
multiudpsink: fix GError memory leak in hostname lookup failure code path
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.5.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-11 08:11 UTC by Vineeth
Modified: 2015-09-11 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix error leak (1.21 KB, patch)
2015-09-11 08:12 UTC, Vineeth
committed Details | Review

Description Vineeth 2015-09-11 08:11:07 UTC
During error cases, the error message is not being freed, resulting in leak
Comment 1 Vineeth 2015-09-11 08:12:01 UTC
Created attachment 311117 [details] [review]
fix error leak
Comment 2 Tim-Philipp Müller 2015-09-11 09:21:22 UTC
Thanks for the patch. I pushed just the chunk that fixes the leak, the other change is gratuitious.

commit 2a7ba2955cc9f2b42d2df3cb963e026454b7f59b
Author: Vineeth TM <vineeth.tm@samsung.com>
Date:   Fri Sep 11 17:09:28 2015 +0900

    multiudpsink: fix GError memory leak when hostname resolution fails
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754869