Oops, tp_dealloc doesn't return anything
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 18 Nov 2009 10:21:41 +0000 (12:21 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 18 Nov 2009 10:21:41 +0000 (12:21 +0200)
python/rpmps-py.c

index 404020b..083e513 100644 (file)
@@ -66,7 +66,7 @@ static PyObject *rpmprob_str(rpmProblemObject *s)
     return res;
 }
 
-static PyObject *rpmprob_dealloc(rpmProblemObject *s)
+static void rpmprob_dealloc(rpmProblemObject *s)
 {
     s->prob = rpmProblemFree(s->prob);
     Py_TYPE(s)->tp_free((PyObject *)s);