Vincent Vande Vyvre wrote:
static int
ImgProc_init(ImgProc *self, PyObject *args, PyObject *kwds)
{
    PyObject *tmp;
    char *fname;

    if (!PyArg_ParseTuple(args, "s", &fname))
        return NULL;

You should be returning -1 here, not NULL.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to