File: | messageinfotype.c |
Function: | clawsmail_messageinfo_new |
Error: | returning (PyObject*)NULL without setting an exception |
259 PyObject* clawsmail_messageinfo_new(MsgInfo *msginfo)
260 {
261 clawsmail_MessageInfoObject *ff;
262
263 if(!msginfo)
264 return NULL;
when taking True path
265
266 ff = (clawsmail_MessageInfoObject*) PyObject_CallObject((PyObject*) &clawsmail_MessageInfoType, NULL);
267 if(!ff)
268 return NULL;
269
270 ff->msginfo = msginfo;
271
272 if(update_members(ff, msginfo))
273 return (PyObject*)ff;
274 else {
275 Py_XDECREF(ff);
276 return NULL;
277 }
278 }
279