freebsd-ports/net/py-xmlrpc/files/patch-src_rpcDispatch.c
Maxim Sobolev 3ea81dfd17 Fix python interpreter crash caused by the incorrect use of PyMem_DEL()
instead of PyObject_DEL().

PR:		ports/131609
Submitted by:	Andriy Pylypenko <bamby@sippysoft.com>
Approved by:	MAINTAINER's timeout
2009-02-27 01:35:30 +00:00

14 lines
162 B
C

$FreeBSD$
--- src/rpcDispatch.c
+++ src/rpcDispatch.c
@@ -68,7 +68,7 @@
rpcDispClear(dp);
free(dp->srcs);
}
- PyMem_DEL(dp);
+ PyObject_DEL(dp);
}