1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/py-xmlrpc/files/patch-src_rpcBase64.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

15 lines
164 B
C

$FreeBSD$
--- src/rpcBase64.c
+++ src/rpcBase64.c
@@ -239,7 +239,7 @@
if (bp->value) {
Py_DECREF(bp->value);
}
- PyMem_DEL(bp);
+ PyObject_DEL(bp);
}