On Mar 8, 2015, at 10:55 PM, Patrick J. Collins <[email protected]> wrote: > > do I need to free the memory in dealloc?
Whether you need to free it only depends on how you’ve allocated it. If you defined it in your class as a pointer (double _*ks;) and malloc’ed it in your init, then you need to free it. If you just declared it as an array in your method definition (double _ks[11];), then you don’t. Charles
_______________________________________________ Do not post admin requests to the list. They will be ignored. Objc-language mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com This email sent to [email protected]
