From a7c2a151510abcf3bc013227bcced50c745ca068 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 16 Apr 2003 02:37:36 +0000 Subject: "" svn path=/trunk/; revision=564 --- externals/grill/py/source/bound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/grill/py/source/bound.cpp b/externals/grill/py/source/bound.cpp index c2d0a2cc..58250830 100644 --- a/externals/grill/py/source/bound.cpp +++ b/externals/grill/py/source/bound.cpp @@ -104,7 +104,7 @@ PyObject *pyext::pyext_unbind(PyObject *,PyObject *args) // do unbind if(px) { pd_unbind(&px->obj.ob_pd,recv); - object_free(px->obj); + object_free(&px->obj); Py_DECREF(self); if(PyMethod_Check(meth)) Py_DECREF(meth); @@ -133,7 +133,7 @@ V pyext::ClearBinding() if(PyMethod_Check(px->func)) Py_DECREF(px->func); pd_unbind(&px->obj.ob_pd,px->name); - object_free(px->obj); + object_free(&px->obj); } else pp = px; px = pn; -- cgit v1.2.1