[Bug 788243] nvbaseenc: fix unmap video frame in failed case

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 28 10:32:39 UTC 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #360584|none                        |needs-work
             status|                            |

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Comment on attachment 360584
  --> https://bugzilla.gnome.org/attachment.cgi?id=360584
attached patch

It looks like more leaks are hiding in the code below there. state and
input_buffer are leaked in the "goto error" cases below, frame if we don't go
into the "if (nvenc->gl_input)" and not in the "if (!nvenc->gl_input)" case.

Please review the code in this function again :)

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