File: zeneditor-interface.c
Function: get_caret_placeholder
Error: ob_refcnt of '*pcaret_placeholder' is 1 too high
158 static inline const gchar *
159 get_caret_placeholder(PyObject *mod) {
160 	/*PyObject *pcaret_placeholder = PyObject_GetAttrString(mod, "caret_placeholder");*/
161 	PyObject *pcaret_placeholder = PyObject_CallMethod(mod, "getCaretPlaceholder", NULL);
when PyObject_CallMethod() succeeds
new ref from call to PyObject_CallMethod allocated at: 	PyObject *pcaret_placeholder = PyObject_CallMethod(mod, "getCaretPlaceholder", NULL);
ob_refcnt is now refs: 1 + N where N >= 0
162 	if (!pcaret_placeholder) {
taking False path
163 		if (PyErr_Occurred()) PyErr_Print();
164 		DEBUG_MSG("failed to get placeholder\n");
165 		return "{%::zen-caret::%}";
166 	}
167 	return (const gchar *)PyString_AsString(pcaret_placeholder);
when PyString_AsString() succeeds
168 }
ob_refcnt of '*pcaret_placeholder' 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 1 similar trace(s) to this