File: | composewindowtype.c |
Function: | clawsmail_compose_new |
Error: | dereferencing NULL (kw->ob_refcnt) at composewindowtype.c:525 |
508 PyObject* clawsmail_compose_new(PyObject *module, Compose *compose)
509 {
510 PyObject *class, *dict;
511 PyObject *self, *args, *kw;
512
513 if(!compose) {
514 Py_INCREF(Py_None);
when taking False path
515 return Py_None;
516 }
517
518 dict = PyModule_GetDict(module);
519 class = PyDict_GetItemString(dict, "ComposeWindow");
520 args = Py_BuildValue("()");
when PyDict_GetItemString() succeeds
521 kw = Py_BuildValue("{s:b}", "__open_window", 0);
when Py_BuildValue() succeeds
522 self = PyObject_Call(class, args, kw);
when Py_BuildValue() fails
523 Py_DECREF(args);
when PyObject_Call() succeeds
524 Py_DECREF(kw);
when taking True path
525 composewindow_set_compose((clawsmail_ComposeWindowObject*)self, compose);
dereferencing NULL (kw->ob_refcnt) at composewindowtype.c:525
found 3 similar trace(s) to this
526 return self;
527 }
528
File: | composewindowtype.c |
Function: | clawsmail_compose_new |
Error: | calling PyObject_Call with NULL as argument 2 (args) at composewindowtype.c:523 |
508 PyObject* clawsmail_compose_new(PyObject *module, Compose *compose)
509 {
510 PyObject *class, *dict;
511 PyObject *self, *args, *kw;
512
513 if(!compose) {
514 Py_INCREF(Py_None);
when taking False path
515 return Py_None;
516 }
517
518 dict = PyModule_GetDict(module);
519 class = PyDict_GetItemString(dict, "ComposeWindow");
520 args = Py_BuildValue("()");
when PyDict_GetItemString() succeeds
521 kw = Py_BuildValue("{s:b}", "__open_window", 0);
when Py_BuildValue() fails
522 self = PyObject_Call(class, args, kw);
when Py_BuildValue() succeeds
523 Py_DECREF(args);
calling PyObject_Call with NULL as argument 2 (args) at composewindowtype.c:523
found 1 similar trace(s) to this
524 Py_DECREF(kw);
525 composewindow_set_compose((clawsmail_ComposeWindowObject*)self, compose);
526 return self;
527 }
528
File: | composewindowtype.c |
Function: | clawsmail_compose_new |
Error: | calling PyObject_Call with NULL as argument 1 (class) at composewindowtype.c:523 |
508 PyObject* clawsmail_compose_new(PyObject *module, Compose *compose)
509 {
510 PyObject *class, *dict;
511 PyObject *self, *args, *kw;
512
513 if(!compose) {
514 Py_INCREF(Py_None);
when taking False path
515 return Py_None;
516 }
517
518 dict = PyModule_GetDict(module);
519 class = PyDict_GetItemString(dict, "ComposeWindow");
520 args = Py_BuildValue("()");
PyDict_GetItemString does not find string
521 kw = Py_BuildValue("{s:b}", "__open_window", 0);
when Py_BuildValue() succeeds
522 self = PyObject_Call(class, args, kw);
when Py_BuildValue() succeeds
523 Py_DECREF(args);
calling PyObject_Call with NULL as argument 1 (class) at composewindowtype.c:523
looks up func->ob_type
found 3 similar trace(s) to this
524 Py_DECREF(kw);
525 composewindow_set_compose((clawsmail_ComposeWindowObject*)self, compose);
526 return self;
527 }
528