Reputation: 1412
my application gets crashes by getting this error!!! :(
objc[12723]: FREED(id): message clientID sent to freed object=0x48a23e0
may i know the reason for this!!
Thanks
Upvotes: 0
Views: 90
Reputation: 38475
Tthere's not much information in your question for us to help you but this is what is happening :
1) You have made an object and then released it.
myObject =[MyObject alloc] init];
...
[myObject release];
2) Later on you've tried to do something like
[myObject clientID];
but it's already been released so it doesn't exist anymore.
If you edit your question and add some more code from where the crash happens we might be able to help more.
Upvotes: 1
Reputation: 5732
You're sending a message to a released object. Check your memory management.
Upvotes: 1
Reputation: 53930
The reason is written...
You are calling the clientID
method on an object that has been freed.
Maybe you forgot to retain it at some place...
Upvotes: 2
Reputation: 44053
You are sending a message to an object that has been deallocated!
I recommend that you read through the Memory Management Guide from Apple.
Upvotes: 1