X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=python%2Fguestfs-py-byhand.c;h=53c2e98c91f1fe9f8e0465440c9ba3d277813a5a;hp=1756963ae48424d6e1a37846fb92cd6b53c205ad;hb=e7e3a32edc29e3448b1d7efb3f6b53c5173c4e9c;hpb=00c9755ee3bea98968acea47bac858db94f7fbe2 diff --git a/python/guestfs-py-byhand.c b/python/guestfs-py-byhand.c index 1756963..53c2e98 100644 --- a/python/guestfs-py-byhand.c +++ b/python/guestfs-py-byhand.c @@ -76,6 +76,7 @@ py_guestfs_close (PyObject *self, PyObject *args) for (i = 0; i < len; ++i) Py_XDECREF (callbacks[i]); + free (callbacks); Py_INCREF (Py_None); return Py_None;