mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 10:00:51 +00:00
([MallocAddress +autoreleaseMallocAddress:]): Fix typo in method name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1284 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
07a8527760
commit
15f0c95e86
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ static NSMapTable* mallocAddresses;
|
||||||
{
|
{
|
||||||
mallocAddresses =
|
mallocAddresses =
|
||||||
NSCreateMapTable (NSNonOwnedPointerMapKeyCallBacks,
|
NSCreateMapTable (NSNonOwnedPointerMapKeyCallBacks,
|
||||||
NSNonRetainedObjectMapValueCallBacks, 0);
|
NSNonOwnedPointerMapValueCallBacks, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ static NSMapTable* mallocAddresses;
|
||||||
return NSMapGet (mallocAddresses, addr);
|
return NSMapGet (mallocAddresses, addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
+ autoreleaseMallocAddresss: (void*)addr
|
+ autoreleaseMallocAddress: (void*)addr
|
||||||
{
|
{
|
||||||
id n = [[self alloc] initWithAddress:addr];
|
id n = [[self alloc] initWithAddress:addr];
|
||||||
NSMapInsert (mallocAddresses, addr, n);
|
NSMapInsert (mallocAddresses, addr, n);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue