gentoo-full-overlay/dev-python/py-xmlrpc/files/py-xmlrpc_rpcSource.patch

16 lines
372 B
Diff

Patch added by neurogeek@gentoo.org
Patch added 03/01/2010
Taken from: http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/py-xmlrpc/files/
Thanks to sobomax @ FreeBSD
--- src/rpcSource.c
+++ src/rpcSource.c
@@ -61,7 +61,7 @@
if (srcp->onErr and srcp->onErrType == ONERR_TYPE_PY) {
Py_DECREF((PyObject *)srcp->onErr);
}
- PyMem_DEL(srcp);
+ PyObject_DEL(srcp);
}