Take the 2-minute tour ×  In a doc-based ARC-enabled application
I have a WebView that is opening an HTML file. The idea is to do
some editing, and then save to WebArchive. When I run
Instruments I find random leaks as in the image below. I am not
initializing anything with malloc, why am I getting them? (I get
the leaks when I start opening and closing windows.)   #import
<Cocoa/Cocoa.h> #import <WebKit/WebKit.h>  @interface KBDocument
: NSPersistentDocument {     IBOutlet WebView *webView;   -
(void)windowControllerDidLoadNib:(NSWindowController
*)aController     [super
windowControllerDidLoadNib:aController];      NSString *urlStr =
@"file:///Users/.........../Content/1/index.html";     NSURL
*url = [NSURL URLWithString:urlStr];      NSURLRequest
*requestObj = [NSURLRequest requestWithURL:url];     [[webView
mainFrame] loadRequest:requestObj];     [webView
setEditable:YES];   enter image description here  share|improve
this question add comment  1 Answer  up vote 0 down vote
accepted  Well, you can see tha