File: | src/_webp.c |
Function: | PyInit__webp |
Error: | memory leak: ob_refcnt of '*m' is 1 too high |
971 PyMODINIT_FUNC
972 PyInit__webp(void) {
973 PyObject *m;
974
975 static PyModuleDef module_def = {
976 PyModuleDef_HEAD_INIT,
977 "_webp", /* m_name */
978 NULL, /* m_doc */
979 -1, /* m_size */
980 webpMethods, /* m_methods */
981 };
982
983 m = PyModule_Create(&module_def);
when PyModule_Create2() succeeds
'*m' was allocated at: m = PyModule_Create(&module_def);
ob_refcnt is now refs: 1 owned
984 if (setup_module(m) < 0) {
when considering range: -0x80000000 <= value <= -1
taking True path
985 return NULL;
memory leak: ob_refcnt of '*m' is 1 too high
was expecting final owned ob_refcnt of '*m' to be 0 since nothing references it but final ob_refcnt is refs: 1 owned
986 }
987
988 return m;
989 }
File: | src/_webp.c |
Function: | PyInit__webp |
Error: | returning (PyObject*)NULL without setting an exception |
971 PyMODINIT_FUNC
972 PyInit__webp(void) {
973 PyObject *m;
974
975 static PyModuleDef module_def = {
976 PyModuleDef_HEAD_INIT,
977 "_webp", /* m_name */
978 NULL, /* m_doc */
979 -1, /* m_size */
980 webpMethods, /* m_methods */
981 };
982
983 m = PyModule_Create(&module_def);
when PyModule_Create2() succeeds
984 if (setup_module(m) < 0) {
when considering range: -0x80000000 <= value <= -1
taking True path
985 return NULL;
returning (PyObject*)NULL without setting an exception
986 }
987
988 return m;
989 }