mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 05:29:30 -06:00
add INCREF in embed()
This commit is contained in:
@@ -410,7 +410,8 @@ PGF_embed(PGFObject* self, PyObject *modname)
|
||||
Py_DECREF(m);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Py_INCREF(m);
|
||||
return m;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user