File: gststructure.override
Function: pygst_structure_foreach_marshal
Error: ob_refcnt of '*py_field' is 1 too high
231 static gboolean
232 pygst_structure_foreach_marshal(GQuark field_id,
233 				const GValue *value,
234 				gpointer user_data)
235 {
236 	PyGstCustomNotify *cunote = user_data;
237 	PyObject *py_field, *py_value, *retobj;
238 	gboolean retval = TRUE;
239 	PyGILState_STATE state;
240 	
241 	g_assert(cunote->func);
when treating unknown void * from gststructure.override:234 as non-NULL
when treating unknown struct PyObject * from gststructure.override:241 as non-NULL
taking True path
when considering range: -0x8000000000000000 <= value <= -1
taking True path
242 
243 	state = pyg_gil_state_ensure();
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown int (*) (void) from gststructure.override:243
244 
245 	py_field = Py_BuildValue("s", g_quark_to_string(field_id));
when Py_BuildValue() succeeds
new ref from call to Py_BuildValue allocated at: 	py_field = Py_BuildValue("s", g_quark_to_string(field_id));
ob_refcnt is now refs: 1 + N where N >= 0
246 	py_value = pygst_value_as_pyobject(value, FALSE);
when pygst_value_as_pyobject() fails
247 	if (cunote->data)
when treating unknown struct PyObject * from gststructure.override:247 as NULL
taking False path
248 		retobj = PyEval_CallFunction(cunote->func, "(NNO)",
249 					     py_field, py_value,
250 					     cunote->data);
251 	else
252 		retobj = PyEval_CallFunction(cunote->func, "(NN)",
when PyEval_CallFunction() succeeds
253 					     py_field, py_value);
254 
255 	if (PyErr_Occurred () || (retobj == NULL) || (retobj == Py_None)) {
PyErr_Occurred()
taking True path
256 		PyErr_Print ();
calling PyErr_Print()
257 		retval = FALSE;
258 	} else if (retobj != Py_None) {
259 		retval = PyInt_AsLong(retobj);
260 	}
261 
262 	Py_XDECREF(retobj);
taking False path
when taking True path
263 
264 	pyg_gil_state_release(state);
calling unknown void (*) (int) from gststructure.override:264
265 	
266 	return retval;
returning
ob_refcnt of '*py_field' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 13 similar trace(s) to this
267 }

File: gststructure.override
Function: pygst_structure_foreach_marshal
Error: ob_refcnt of '*py_value' is 1 too high
231 static gboolean
232 pygst_structure_foreach_marshal(GQuark field_id,
233 				const GValue *value,
234 				gpointer user_data)
235 {
236 	PyGstCustomNotify *cunote = user_data;
237 	PyObject *py_field, *py_value, *retobj;
238 	gboolean retval = TRUE;
239 	PyGILState_STATE state;
240 	
241 	g_assert(cunote->func);
when treating unknown void * from gststructure.override:234 as non-NULL
when treating unknown struct PyObject * from gststructure.override:241 as non-NULL
taking True path
when considering range: -0x8000000000000000 <= value <= -1
taking True path
242 
243 	state = pyg_gil_state_ensure();
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown int (*) (void) from gststructure.override:243
244 
245 	py_field = Py_BuildValue("s", g_quark_to_string(field_id));
when Py_BuildValue() succeeds
246 	py_value = pygst_value_as_pyobject(value, FALSE);
when pygst_value_as_pyobject() succeeds
new ref from (unknown) pygst_value_as_pyobject allocated at: 	py_value = pygst_value_as_pyobject(value, FALSE);
ob_refcnt is now refs: 1 + N where N >= 0
247 	if (cunote->data)
when treating unknown struct PyObject * from gststructure.override:247 as non-NULL
taking True path
248 		retobj = PyEval_CallFunction(cunote->func, "(NNO)",
when PyEval_CallFunction() succeeds
249 					     py_field, py_value,
250 					     cunote->data);
251 	else
252 		retobj = PyEval_CallFunction(cunote->func, "(NN)",
253 					     py_field, py_value);
254 
255 	if (PyErr_Occurred () || (retobj == NULL) || (retobj == Py_None)) {
PyErr_Occurred()
taking False path
taking False path
taking False path
256 		PyErr_Print ();
257 		retval = FALSE;
258 	} else if (retobj != Py_None) {
taking True path
259 		retval = PyInt_AsLong(retobj);
when PyInt_AsLong() succeeds
260 	}
261 
262 	Py_XDECREF(retobj);
taking False path
when taking True path
263 
264 	pyg_gil_state_release(state);
calling unknown void (*) (int) from gststructure.override:264
265 	
266 	return retval;
returning
ob_refcnt of '*py_value' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 9 similar trace(s) to this
267 }