mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 11:15:27 -07:00
add INCREF in embed()
This commit is contained in:
1 parent
bfc2ab27e6
commit
d1c25ce1c1
1 file changed
+1
@@ -411,6 +411,7 @@ PGF_embed(PGFObject* self, PyObject *modname)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Py_INCREF(m);
|
||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user