[Bug 787711] Gstomxh264enc : Fix Memory leak in error case

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 22 08:55:25 UTC 2017


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

--- Comment #16 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Tim-Philipp Müller from comment #13)
> The unrefs after g_assert_not_reached () look 
> 
> The static analyzer should be thought about g_assert_not_reached instead.

Yes, for clean-ness I'd keep the unrefs there though. Someone might want to
remove the assertions later because they are actually valid cases, and then
forget to put the unref there.

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