diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 17:21:35 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 17:21:35 +0000 |
commit | 81224edec2bbdd9b1a2bf154335b670e4e7cc4f0 (patch) | |
tree | 51dc4c0e975d93a042efa479dba8013b5d8985fd /pyuno | |
parent | 2be908a0e69a3bdcd68d4626fbf31c8dc7554b86 (diff) |
INTEGRATION: CWS pyunofixes3_SRC680 (1.6.20); FILE MERGED
2006/11/06 18:11:11 pmladek 1.6.20.1: #i71078#
Fix allocating and deleting python objects
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_callable.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index fb373e4a202c..25912b3fd62d 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pyuno_callable.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2006-06-20 05:03:27 $ + * last change: $Author: ihi $ $Date: 2006-11-14 18:21:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -74,7 +74,7 @@ void PyUNO_callable_del (PyObject* self) me = (PyUNO_callable*) self; delete me->members; - PyMem_DEL (self); + PyObject_Del (self); return; } @@ -261,7 +261,7 @@ PyRef PyUNO_callable_new ( { PyUNO_callable* self; - self = PyObject_NEW (PyUNO_callable, &PyUNO_callable_Type); + self = PyObject_New (PyUNO_callable, &PyUNO_callable_Type); if (self == NULL) return NULL; //NULL == Error! |