After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 574256 - gststructure.override leaks py_value
gststructure.override leaks py_value
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-05 12:34 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2009-03-05 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2009-03-05 12:34:54 UTC
246  		py_value = pygst_value_as_pyobject(value, FALSE);
...
266  		return retval;
267  	}

py_value is never freed.
Comment 1 Edward Hervey 2009-03-05 12:43:21 UTC
This is not a leak. We give py_value to PyEval_CallFunction.

In the arguments ("(NNO)") the 'N' means that we don't increment the refcount, but give the reference to the arguments that will be built later on.