[Bug 765794] Memory leak in gstreamer gst/gstregistrychunks.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 29 07:07:27 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765794

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at coaxion.net

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
g_new0() can't return NULL, if allocation fails it will abort() the process.

For the other case, it should do g_free(arr) before return NULL. Do you want to
provide a patch? Did you check if there are more instances of the same problem
in the file?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list