Hello, list
I try to check my Cocoa application memory leak issue using Instruments.
here I have a question here:
for example:
if(conditions == true){
       void *buffer1 = malloc(32);
       buffer1 = NULL;
} else {
       void *buffer2 = malloc(32);
       buffer2 = NULL;
}
the Instruments (leaks) can not find out the buffer2 leak, because this part
is not executed. So, how to check this kind of memory leak?  Thanks.

Xiaogang
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to