return false;
}
+ // We should escape on call to 'init'. This is especially relevant to the
+ // receiver, as the corresponding symbol is usually not referenced after
+ // the call.
+ if (Msg->getMethodFamily() == OMF_init)
+ return false;
+
// Otherwise, assume that the method does not free memory.
// Most framework methods do not free memory.
return true;
}
@end
+@interface JKArray : NSObject {
+ id * objects;
+}
+@end
+
+void _JKArrayCreate() {
+ JKArray *array = (JKArray *)malloc(12);
+ array = [array init];
+ free(array); // no-warning
+}
\ No newline at end of file