[gstreamer-bugs] [Bug 574258] New: _wrap_gst_install_plugins_sync might leak details
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Mar 5 04:38:36 PST 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=574258
GStreamer | gst-python | Ver: git
Summary: _wrap_gst_install_plugins_sync might leak details
Product: GStreamer
Version: git
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ensonic at sonicpulse.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
gst/pbutils.override
129 details = g_new0(gchar*, len+1);
130
131 /* Check all items in py_details are strings */
132 for (i = 0; i < len; i++) {
133 PyObject *py_str = PySequence_GetItem(py_details, i);
134 gchar *str;
135
136 if (!PyString_Check(py_str)) {
137 PyErr_SetString(PyExc_TypeError, "Details need to be a 138
Py_DECREF(py_str);
139 Py_DECREF(py_details);
// leaks details
140 return NULL;
141 }
142 if (!(str = PyString_AsString(py_str))) {
143 Py_DECREF(py_str);
144 Py_DECREF(py_details);
// leaks details
145 return NULL;
146 }
147 details[i] = g_strdup(str);
148 Py_DECREF(py_str);
149 }
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574258.
More information about the Gstreamer-bugs
mailing list