239 static int
240 setup_module(PyObject *m) {
241 PyObject *d = PyModule_GetDict(m);
242
243 PyDict_SetItemString(d, "__version", PyUnicode_FromString("0.1"));
when PyUnicode_FromString() succeeds
when PyDict_SetItemString() succeeds
new ref from (unknown) PyUnicode_FromString was allocated at: PyDict_SetItemString(d, "__version", PyUnicode_FromString("0.1"));
ob_refcnt is now refs: 1 owned
ob_refcnt is now refs: 1 owned, 1 borrowed
244
245 return 0;
returning
memory leak: ob_refcnt of new ref from (unknown) PyUnicode_FromString is 1 too high
was expecting final owned ob_refcnt of new ref from (unknown) PyUnicode_FromString to be 0 since nothing references it but final ob_refcnt is refs: 1 owned, 1 borrowed
found 1 similar trace(s) to this
246 }