mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
instead of PyObject_DEL(). PR: ports/131609 Submitted by: Andriy Pylypenko <bamby@sippysoft.com> Approved by: MAINTAINER's timeout
14 lines
219 B
C
14 lines
219 B
C
|
|
$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);
|
|
}
|
|
|
|
|