diff options
| -rw-r--r-- | gobject/pygflags.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gobject/pygflags.c b/gobject/pygflags.c index 98e3a9e..13c7cab 100644 --- a/gobject/pygflags.c +++ b/gobject/pygflags.c @@ -204,6 +204,7 @@ pyg_flags_add (PyObject * module, if (!stub) { PyErr_SetString(PyExc_RuntimeError, "can't create const"); pyg_gil_state_release(state); + return NULL; } PyDict_SetItemString(((PyTypeObject *)stub)->tp_dict, |
