From 81224edec2bbdd9b1a2bf154335b670e4e7cc4f0 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Tue, 14 Nov 2006 17:21:35 +0000 Subject: 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 --- pyuno/source/module/pyuno_callable.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pyuno') 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! -- cgit v1.2.3