mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(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
This commit is contained in:
parent
6c3c3d44ee
commit
60b44c4a07
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue