diff --git a/ChangeLog b/ChangeLog index 54bdc12b45..2a87897244 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-06 Michael Smith + + * gst/gststructure.override: + * gst/gsttaglist.override: + Don't leak PyObjects wrapping GValues when indexing into a + GStStructure. Also fix a copy/paste identical bug in taglists. + 2006-03-02 Edward Hervey * gst/pygstminiobject.h: diff --git a/gst/gststructure.override b/gst/gststructure.override index 4df4e82f8a..68bedbea51 100644 --- a/gst/gststructure.override +++ b/gst/gststructure.override @@ -193,8 +193,6 @@ _wrap_gst_structure_subscript(PyGObject *self, PyObject *py_key) PyErr_SetString(PyExc_KeyError, field); } - if (v != NULL) - Py_INCREF(v); return v; } diff --git a/gst/gsttaglist.override b/gst/gsttaglist.override index 85ae61ac2b..2ce31cef53 100644 --- a/gst/gsttaglist.override +++ b/gst/gsttaglist.override @@ -84,8 +84,6 @@ _wrap_gst_tag_list_subscript(PyGObject *self, PyObject *py_key) PyErr_SetString(PyExc_KeyError, field); } - if (v != NULL) - Py_INCREF(v); return v; }