[Bug 773907] New: gst-launch: fix minor memory leak when failing to parse options
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Nov 3 17:29:38 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773907
Bug ID: 773907
Summary: gst-launch: fix minor memory leak when failing to
parse options
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: minor
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: ao2 at ao2.it
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 339056
--> https://bugzilla.gnome.org/attachment.cgi?id=339056&action=edit
gst-launch: fix minor memory leak when failing to parse options
A minor issue, but I noticed it while reading the code and so here is a patch.
To keep the changes to a minimum I left both the variables "err" and "error" in
gst-launch.c::main(), but I see that the code could have just used "error"
everywhere and avoid the confusion.
Ciao,
Antonio
--
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