From a22a1fc4b8d973509f25031e74c4cd70bc8ee318 Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 7 Sep 1996 20:04:13 +0000 Subject: [PATCH] (mframe_build_return): In accordance with Objective C runtime change, use objc_malloc as a function, not a function pointer. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1724 72102866-910b-0410-8b05-ffd578937521 --- Source/mframe.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/mframe.m b/Source/mframe.m index 2d594ac0c..58afa757b 100644 --- a/Source/mframe.m +++ b/Source/mframe.m @@ -833,7 +833,7 @@ mframe_build_return (arglist_t argframe, tmptype++; /* Allocate some memory to hold the value we're pointing to. */ *(void**)retframe = - (*objc_malloc) (objc_sizeof_type (tmptype)); + objc_malloc (objc_sizeof_type (tmptype)); /* We are responsible for making sure this memory gets free'd eventually. Ask MallocAddress class to autorelease it. */ [MallocAddress autoreleaseMallocAddress: *(void**)retframe];