File: | src/_imagingft.c |
Function: | PyInit__imagingft |
Error: | memory leak: ob_refcnt of '*m' is 1 too high |
1404 PyMODINIT_FUNC
1405 PyInit__imagingft(void) {
1406 PyObject *m;
1407
1408 static PyModuleDef module_def = {
1409 PyModuleDef_HEAD_INIT,
1410 "_imagingft", /* m_name */
1411 NULL, /* m_doc */
1412 -1, /* m_size */
1413 _functions, /* m_methods */
1414 };
1415
1416 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
1417
1418 if (setup_module(m) < 0) {
when considering range: -0x80000000 <= value <= -1
taking True path
1419 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
1420 }
1421
1422 return m;
1423 }
File: | src/_imagingft.c |
Function: | PyInit__imagingft |
Error: | returning (PyObject*)NULL without setting an exception |
1404 PyMODINIT_FUNC
1405 PyInit__imagingft(void) {
1406 PyObject *m;
1407
1408 static PyModuleDef module_def = {
1409 PyModuleDef_HEAD_INIT,
1410 "_imagingft", /* m_name */
1411 NULL, /* m_doc */
1412 -1, /* m_size */
1413 _functions, /* m_methods */
1414 };
1415
1416 m = PyModule_Create(&module_def);
when PyModule_Create2() succeeds
1417
1418 if (setup_module(m) < 0) {
when considering range: -0x80000000 <= value <= -1
taking True path
1419 return NULL;
returning (PyObject*)NULL without setting an exception
1420 }
1421
1422 return m;
1423 }