R – is it necessary to release a NSInteger in iphone

iphonememory-managementobjective c

i am getting this error does some one knows about it???
2009-07-08 18:42:36.778 FlashCards[1297:20b] Category Id=1
FlashCards(1297,0xa0690fa0) malloc: * error for object 0x4fd78a0: pointer being freed was not allocated
FlashCards(1297,0xa0690fa0) malloc: *
error for object 0x4fdc200: double free
*** set a breakpoint in malloc_error_break to debug

Best Answer

No, an NSInteger is not an object; it is simply a typedef for an int (for 32-bit apps) or a long (for 64-bit apps):

#if __LP64__
typedef long NSInteger;
#else
typedef int NSInteger;
endif
Related Topic