38 static void
39 tag_foreach_func_list (const GstTagList *list,
40 const gchar *tag,
41 PyObject *py_list)
42 {
43 int count;
44
45 count = gst_tag_list_get_tag_size(GST_TAG_LIST(list), tag);
46 if (count == 0)
when considering range: 1 <= value <= 0xffffffff
taking False path
47 PyErr_SetString(PyExc_KeyError, tag);
48 else if (count > 0)
taking True path
49 PyList_Append(py_list, PyString_FromString(tag));
when treating unknown const gchar * from gsttaglist.override:40 as non-NULL
when PyString_FromString() succeeds
when treating ob_size as 0
when PyList_Append() succeeds
PyStringObject allocated at: PyList_Append(py_list, PyString_FromString(tag));
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 2 + N where N >= 0
PyStringObject is now referenced by 1 non-stack value(s): region-for-arg-gcc.ParmDecl('py_list').ob_item[0]
50 }
returning
ob_refcnt of PyStringObject is 1 too high
was expecting final ob_refcnt to be N + 1 (for some unknown N)
due to object being referenced by: region-for-arg-gcc.ParmDecl('py_list').ob_item[0]
but final ob_refcnt is N + 2
found 1 similar trace(s) to this