[Bug 765005] mpegtsmux: memory leak caused by pad_data->language

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 15 15:53:04 UTC 2016


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

Jan Schmidt <thaytan at noraisin.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thaytan at noraisin.net

--- Comment #6 from Jan Schmidt <thaytan at noraisin.net> ---
For future reference, you don't need to check if a variable != NULL before
calling g_free. g_free just returns if you pass it NULL, and you don't need to
then set the variable to NULL before then assigning a new value from g_strdup
:)

-- 
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