diff options
Diffstat (limited to 'Modules/clmodule.c')
-rw-r--r-- | Modules/clmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/clmodule.c b/Modules/clmodule.c index 70e8f8e..a535e03 100644 --- a/Modules/clmodule.c +++ b/Modules/clmodule.c @@ -963,6 +963,8 @@ initcl(void) PyObject *m, *d, *x; m = Py_InitModule("cl", cl_methods); + if (m == NULL) + return; d = PyModule_GetDict(m); ClError = PyErr_NewException("cl.error", NULL, NULL); |