Hi all.
In my app i am populating an object (myCatalogObject)through unarchiving....
At the end,when i call release to that object, its calling the dealloc. (its OK)
the dealloc is like below
But its giving "EXEC_BAD_ACCESS" for the first line in dealloc method....
I populate the myCatalogObject like below
The unarchiving is doing perfectly, but i want to relase the memory occuped by object before quitting application...
the Catalog class contains a MutableDictionary and MutableArray.....
Thanks...
In my app i am populating an object (myCatalogObject)through unarchiving....
At the end,when i call release to that object, its calling the dealloc. (its OK)
the dealloc is like below
Code:
(void*) dealloc
{
[myMutableDictionary release];
[myMutableArray release];
}
But its giving "EXEC_BAD_ACCESS" for the first line in dealloc method....
I populate the myCatalogObject like below
Code:
Catalog* myCatalogObject = [NSUnarchiver unarchive.......];
The unarchiving is doing perfectly, but i want to relase the memory occuped by object before quitting application...
the Catalog class contains a MutableDictionary and MutableArray.....
Thanks...