File: recodemodule.c
Function: py_new_recoder
Error: dereferencing NULL (ret->obj) at recodemodule.c:122
94 static PyObject *
95 py_new_recoder (PyObject * self, PyObject * args) {
96     PyRecodeRequest_Object * ret;
97 
98     char * string;
99     RECODE_REQUEST request;
100 
101     if (! PyArg_ParseTuple(args, "s:request", & string))
when PyArg_ParseTuple() succeeds
taking False path
102 	return NULL;
103 
104     request = recode_new_request (outer);
105 
106     if (request == NULL) {
when treating unknown struct recode_request * from recodemodule.c:104 as non-NULL
taking False path
107 	PyErr_SetString (PyExc_RuntimeError, "can't initialize new request");
108 	return NULL;
109     }
110 
111     if (! recode_scan_request (request, string)) {
when taking False path
112         recode_delete_request (request);
113 	PyErr_SetString (PyExc_TypeError, "can't initialize request");
114 	return NULL;
115     }
116 
117     /* Create a new object */
118     ret = (PyRecodeRequest_Object *) 
when PyObject_Init() fails
119 	PyObject_NEW (PyRecodeRequest_Object, & PyRecodeRequest_Type);
120     ret->obj = request;
dereferencing NULL (ret->obj) at recodemodule.c:122
121 
122     return (PyObject *) ret;
123 }