diff options
Diffstat (limited to 'Modules/xxmodule.c')
-rw-r--r-- | Modules/xxmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/xxmodule.c b/Modules/xxmodule.c index 5f75b6cf8f..ea66eefa0a 100644 --- a/Modules/xxmodule.c +++ b/Modules/xxmodule.c @@ -352,6 +352,8 @@ initxx(void) /* Create the module and add the functions */ m = Py_InitModule3("xx", xx_methods, module_doc); + if (m == NULL) + return; /* Add some symbolic constants to the module */ if (ErrorObject == NULL) { |