45 static inline gboolean
46 np_init_pygobject(void)
47 {
48 PyObject *gobject = pygobject_init (PYGOBJECT_MAJOR_VERSION, PYGOBJECT_MINOR_VERSION, PYGOBJECT_MICRO_VERSION);
when pygobject_init() succeeds
new ref from (unknown) pygobject_init allocated at: PyObject *gobject = pygobject_init (PYGOBJECT_MAJOR_VERSION, PYGOBJECT_MINOR_VERSION, PYGOBJECT_MICRO_VERSION);
ob_refcnt is now refs: 1 + N where N >= 0
49
50 if (gobject == NULL) {
taking False path
51 PyErr_Print ();
52 return FALSE;
53 }
54
55 return TRUE;
56 }
ob_refcnt of '*gobject' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1