fixups for libobjc2

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-25 18:49:31 +00:00
parent 145a5670bf
commit 14b91c9052
67 changed files with 328 additions and 253 deletions

View file

@ -80,7 +80,7 @@ typeSize(const char* type)
if (!value || !type)
{
NSLog(@"Tried to create NSValue with NULL value or NULL type");
RELEASE(self);
DESTROY(self);
return nil;
}
@ -92,7 +92,7 @@ typeSize(const char* type)
if (size < 0)
{
NSLog(@"Tried to create NSValue with invalid Objective-C type");
RELEASE(self);
DESTROY(self);
return nil;
}
if (size > 0)