File: | rrdtoolmodule.c |
Function: | PyInit_rrdtool |
Error: | memory leak: ob_refcnt of '*rrdtool_OperationalError' is 1 too high |
1391 PyMODINIT_FUNC
1392 PyInit_rrdtool(void)
1393 #else
1394 void
1395 initrrdtool(void)
1396 #endif
1397 {
1398 PyObject *m;
1399
1400 PyDateTime_IMPORT; /* initialize PyDateTime_ functions */
1401
1402 /* make sure that the GIL has been created as we need to aquire it */
1403 if (!PyEval_ThreadsInitialized())
when considering range: -0x80000000 <= value <= -1
taking False path
1404 PyEval_InitThreads();
1405
1406 #ifdef HAVE_PY3K
1407 m = PyModule_Create(&rrdtoolmodule);
when PyModule_Create2() succeeds
1408 #else
1409 m = Py_InitModule3("rrdtool",
1410 rrdtool_methods,
1411 "Python bindings for rrdtool");
1412 #endif
1413
1414 if (m == NULL)
taking False path
1415 #ifdef HAVE_PY3K
1416 return NULL;
1417 #else
1418 return;
1419 #endif
1420
1421 rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
when PyErr_NewException() succeeds
1422 NULL, NULL);
1423 Py_INCREF(rrdtool_ProgrammingError);
1424 PyModule_AddObject(m, "ProgrammingError", rrdtool_ProgrammingError);
when PyModule_AddObject() succeeds
1425
1426 rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
when PyErr_NewException() succeeds
'*rrdtool_OperationalError' was allocated at: rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
ob_refcnt is now refs: 1 owned
'*rrdtool_OperationalError' is now referenced by 1 non-stack value(s): rrdtool_OperationalError
1427 NULL, NULL);
1428 Py_INCREF(rrdtool_OperationalError);
ob_refcnt is now refs: 2 owned
1429 PyModule_AddObject(m, "OperationalError", rrdtool_OperationalError);
when PyModule_AddObject() fails
1430 PyModule_AddStringConstant(m, "__version__", _version);
when PyModule_AddStringConstant() succeeds
1431
1432 #ifdef HAVE_PY3K
1433 return m;
memory leak: ob_refcnt of '*rrdtool_OperationalError' is 1 too high
was expecting final owned ob_refcnt of '*rrdtool_OperationalError' to be 1 due to object being referenced by: rrdtool_OperationalError but final ob_refcnt is refs: 2 owned
found 9 similar trace(s) to this
1434 #endif
1435 }
File: | rrdtoolmodule.c |
Function: | PyInit_rrdtool |
Error: | dereferencing NULL (rrdtool_OperationalError.1->ob_refcnt) at rrdtoolmodule.c:1428 |
1391 PyMODINIT_FUNC
1392 PyInit_rrdtool(void)
1393 #else
1394 void
1395 initrrdtool(void)
1396 #endif
1397 {
1398 PyObject *m;
1399
1400 PyDateTime_IMPORT; /* initialize PyDateTime_ functions */
1401
1402 /* make sure that the GIL has been created as we need to aquire it */
1403 if (!PyEval_ThreadsInitialized())
when considering range: -0x80000000 <= value <= -1
taking False path
1404 PyEval_InitThreads();
1405
1406 #ifdef HAVE_PY3K
1407 m = PyModule_Create(&rrdtoolmodule);
when PyModule_Create2() succeeds
1408 #else
1409 m = Py_InitModule3("rrdtool",
1410 rrdtool_methods,
1411 "Python bindings for rrdtool");
1412 #endif
1413
1414 if (m == NULL)
taking False path
1415 #ifdef HAVE_PY3K
1416 return NULL;
1417 #else
1418 return;
1419 #endif
1420
1421 rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
when PyErr_NewException() succeeds
1422 NULL, NULL);
1423 Py_INCREF(rrdtool_ProgrammingError);
1424 PyModule_AddObject(m, "ProgrammingError", rrdtool_ProgrammingError);
when PyModule_AddObject() succeeds
1425
1426 rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
when PyErr_NewException() fails
1427 NULL, NULL);
1428 Py_INCREF(rrdtool_OperationalError);
dereferencing NULL (rrdtool_OperationalError.1->ob_refcnt) at rrdtoolmodule.c:1428
found 5 similar trace(s) to this
1429 PyModule_AddObject(m, "OperationalError", rrdtool_OperationalError);
1430 PyModule_AddStringConstant(m, "__version__", _version);
1431
1432 #ifdef HAVE_PY3K
1433 return m;
1434 #endif
1435 }
File: | rrdtoolmodule.c |
Function: | PyInit_rrdtool |
Error: | memory leak: ob_refcnt of '*rrdtool_ProgrammingError' is 1 too high |
1391 PyMODINIT_FUNC
1392 PyInit_rrdtool(void)
1393 #else
1394 void
1395 initrrdtool(void)
1396 #endif
1397 {
1398 PyObject *m;
1399
1400 PyDateTime_IMPORT; /* initialize PyDateTime_ functions */
1401
1402 /* make sure that the GIL has been created as we need to aquire it */
1403 if (!PyEval_ThreadsInitialized())
when considering range: -0x80000000 <= value <= -1
taking False path
1404 PyEval_InitThreads();
1405
1406 #ifdef HAVE_PY3K
1407 m = PyModule_Create(&rrdtoolmodule);
when PyModule_Create2() succeeds
1408 #else
1409 m = Py_InitModule3("rrdtool",
1410 rrdtool_methods,
1411 "Python bindings for rrdtool");
1412 #endif
1413
1414 if (m == NULL)
taking False path
1415 #ifdef HAVE_PY3K
1416 return NULL;
1417 #else
1418 return;
1419 #endif
1420
1421 rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
when PyErr_NewException() succeeds
'*rrdtool_ProgrammingError' was allocated at: rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
ob_refcnt is now refs: 1 owned
'*rrdtool_ProgrammingError' is now referenced by 1 non-stack value(s): rrdtool_ProgrammingError
1422 NULL, NULL);
1423 Py_INCREF(rrdtool_ProgrammingError);
ob_refcnt is now refs: 2 owned
1424 PyModule_AddObject(m, "ProgrammingError", rrdtool_ProgrammingError);
when PyModule_AddObject() fails
1425
1426 rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
when PyErr_NewException() succeeds
1427 NULL, NULL);
1428 Py_INCREF(rrdtool_OperationalError);
1429 PyModule_AddObject(m, "OperationalError", rrdtool_OperationalError);
when PyModule_AddObject() succeeds
1430 PyModule_AddStringConstant(m, "__version__", _version);
when PyModule_AddStringConstant() succeeds
1431
1432 #ifdef HAVE_PY3K
1433 return m;
memory leak: ob_refcnt of '*rrdtool_ProgrammingError' is 1 too high
was expecting final owned ob_refcnt of '*rrdtool_ProgrammingError' to be 1 due to object being referenced by: rrdtool_ProgrammingError but final ob_refcnt is refs: 2 owned
found 7 similar trace(s) to this
1434 #endif
1435 }
File: | rrdtoolmodule.c |
Function: | PyInit_rrdtool |
Error: | dereferencing NULL (rrdtool_ProgrammingError.0->ob_refcnt) at rrdtoolmodule.c:1423 |
1391 PyMODINIT_FUNC
1392 PyInit_rrdtool(void)
1393 #else
1394 void
1395 initrrdtool(void)
1396 #endif
1397 {
1398 PyObject *m;
1399
1400 PyDateTime_IMPORT; /* initialize PyDateTime_ functions */
1401
1402 /* make sure that the GIL has been created as we need to aquire it */
1403 if (!PyEval_ThreadsInitialized())
when considering range: -0x80000000 <= value <= -1
taking False path
1404 PyEval_InitThreads();
1405
1406 #ifdef HAVE_PY3K
1407 m = PyModule_Create(&rrdtoolmodule);
when PyModule_Create2() succeeds
1408 #else
1409 m = Py_InitModule3("rrdtool",
1410 rrdtool_methods,
1411 "Python bindings for rrdtool");
1412 #endif
1413
1414 if (m == NULL)
taking False path
1415 #ifdef HAVE_PY3K
1416 return NULL;
1417 #else
1418 return;
1419 #endif
1420
1421 rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
when PyErr_NewException() fails
1422 NULL, NULL);
1423 Py_INCREF(rrdtool_ProgrammingError);
dereferencing NULL (rrdtool_ProgrammingError.0->ob_refcnt) at rrdtoolmodule.c:1423
found 2 similar trace(s) to this
1424 PyModule_AddObject(m, "ProgrammingError", rrdtool_ProgrammingError);
1425
1426 rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
1427 NULL, NULL);
1428 Py_INCREF(rrdtool_OperationalError);
1429 PyModule_AddObject(m, "OperationalError", rrdtool_OperationalError);
1430 PyModule_AddStringConstant(m, "__version__", _version);
1431
1432 #ifdef HAVE_PY3K
1433 return m;
1434 #endif
1435 }
File: | rrdtoolmodule.c |
Function: | PyInit_rrdtool |
Error: | memory leak: ob_refcnt of '*rrdtool_OperationalError.1' is 1 too high |
1391 PyMODINIT_FUNC
1392 PyInit_rrdtool(void)
1393 #else
1394 void
1395 initrrdtool(void)
1396 #endif
1397 {
1398 PyObject *m;
1399
1400 PyDateTime_IMPORT; /* initialize PyDateTime_ functions */
1401
1402 /* make sure that the GIL has been created as we need to aquire it */
1403 if (!PyEval_ThreadsInitialized())
when considering value == (int)0 from rrdtoolmodule.c:1403
taking True path
1404 PyEval_InitThreads();
calling PyEval_InitThreads()
1405
1406 #ifdef HAVE_PY3K
1407 m = PyModule_Create(&rrdtoolmodule);
when PyModule_Create2() succeeds
1408 #else
1409 m = Py_InitModule3("rrdtool",
1410 rrdtool_methods,
1411 "Python bindings for rrdtool");
1412 #endif
1413
1414 if (m == NULL)
taking False path
1415 #ifdef HAVE_PY3K
1416 return NULL;
1417 #else
1418 return;
1419 #endif
1420
1421 rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
when PyErr_NewException() succeeds
1422 NULL, NULL);
1423 Py_INCREF(rrdtool_ProgrammingError);
1424 PyModule_AddObject(m, "ProgrammingError", rrdtool_ProgrammingError);
when PyModule_AddObject() succeeds
1425
1426 rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
when PyErr_NewException() succeeds
'*rrdtool_OperationalError.1' was allocated at: rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
ob_refcnt is now refs: 1 owned
'*rrdtool_OperationalError.1' is now referenced by 1 non-stack value(s): rrdtool_OperationalError
1427 NULL, NULL);
1428 Py_INCREF(rrdtool_OperationalError);
ob_refcnt is now refs: 2 owned
1429 PyModule_AddObject(m, "OperationalError", rrdtool_OperationalError);
when PyModule_AddObject() fails
1430 PyModule_AddStringConstant(m, "__version__", _version);
when PyModule_AddStringConstant() succeeds
1431
1432 #ifdef HAVE_PY3K
1433 return m;
memory leak: ob_refcnt of '*rrdtool_OperationalError.1' is 1 too high
was expecting final owned ob_refcnt of '*rrdtool_OperationalError.1' to be 1 due to object being referenced by: rrdtool_OperationalError but final ob_refcnt is refs: 2 owned
found 1 similar trace(s) to this
1434 #endif
1435 }
File: | rrdtoolmodule.c |
Function: | PyInit_rrdtool |
Error: | memory leak: ob_refcnt of '*rrdtool_ProgrammingError.0' is 1 too high |
1391 PyMODINIT_FUNC
1392 PyInit_rrdtool(void)
1393 #else
1394 void
1395 initrrdtool(void)
1396 #endif
1397 {
1398 PyObject *m;
1399
1400 PyDateTime_IMPORT; /* initialize PyDateTime_ functions */
1401
1402 /* make sure that the GIL has been created as we need to aquire it */
1403 if (!PyEval_ThreadsInitialized())
when considering value == (int)0 from rrdtoolmodule.c:1403
taking True path
1404 PyEval_InitThreads();
calling PyEval_InitThreads()
1405
1406 #ifdef HAVE_PY3K
1407 m = PyModule_Create(&rrdtoolmodule);
when PyModule_Create2() succeeds
1408 #else
1409 m = Py_InitModule3("rrdtool",
1410 rrdtool_methods,
1411 "Python bindings for rrdtool");
1412 #endif
1413
1414 if (m == NULL)
taking False path
1415 #ifdef HAVE_PY3K
1416 return NULL;
1417 #else
1418 return;
1419 #endif
1420
1421 rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
when PyErr_NewException() succeeds
'*rrdtool_ProgrammingError.0' was allocated at: rrdtool_ProgrammingError = PyErr_NewException("rrdtool.ProgrammingError",
ob_refcnt is now refs: 1 owned
'*rrdtool_ProgrammingError.0' is now referenced by 1 non-stack value(s): rrdtool_ProgrammingError
1422 NULL, NULL);
1423 Py_INCREF(rrdtool_ProgrammingError);
ob_refcnt is now refs: 2 owned
1424 PyModule_AddObject(m, "ProgrammingError", rrdtool_ProgrammingError);
when PyModule_AddObject() fails
1425
1426 rrdtool_OperationalError = PyErr_NewException("rrdtool.OperationalError",
when PyErr_NewException() succeeds
1427 NULL, NULL);
1428 Py_INCREF(rrdtool_OperationalError);
1429 PyModule_AddObject(m, "OperationalError", rrdtool_OperationalError);
when PyModule_AddObject() succeeds
1430 PyModule_AddStringConstant(m, "__version__", _version);
when PyModule_AddStringConstant() succeeds
1431
1432 #ifdef HAVE_PY3K
1433 return m;
memory leak: ob_refcnt of '*rrdtool_ProgrammingError.0' is 1 too high
was expecting final owned ob_refcnt of '*rrdtool_ProgrammingError.0' to be 1 due to object being referenced by: rrdtool_ProgrammingError but final ob_refcnt is refs: 2 owned
found 3 similar trace(s) to this
1434 #endif
1435 }