mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:50:38 +00:00
Replace objc_malloc with malloc for structures.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a5c5d12d4
commit
b2d830cbf4
3 changed files with 14 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
/* GSKeyBindingTable.m -*-objc-*-
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2011 Free Software Foundation, Inc.
|
||||
|
||||
Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||||
Date: February 2002
|
||||
|
@ -208,7 +208,7 @@
|
|||
if (_bindingsCount == 0)
|
||||
{
|
||||
_bindingsCount = 1;
|
||||
_bindings = objc_malloc (sizeof (struct _GSKeyBinding));
|
||||
_bindings = malloc (sizeof (struct _GSKeyBinding));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue