title: Memory leak UIWebView when loading from file instead of URL?
body: <p>I have a UIViewController that contains a UIWebView (OS 3.0). If I load it with file data, as soon as the 'Back Button' is hit and the view is dismissed, I'm seeing <code>EXEC_BAD_ACCESS</code>
  error with WebCore object releasing 'SharedBuffer'</p>
  
  <pre><code>- (void)viewDidLoad {
      NSString *htmlFile = [[NSBundle mainBundle] pathForResource:fileName ofType:@"html"];   
      NSData *fileHtmlData = [NSData dataWithContentsOfFile:htmlFile];
      [webView loadData:fileHtmlData MIMEType:@"text/html" textEncodingName:@"UTF-8" baseURL:[NSURL URLWithString:@""]];      
  }
  </code></pre>
  
  <p>If I change the above to load via request, everything is fine.</p>
  
  <pre><code>NSURLRequest *request = [NSURLRequest requestWithURL:url];
  [webView loadRequest:request];
  </code></pre>
  
  <p>In my controller's dealloc, I release webview with the following:</p>
  
  <pre><code>[webView setDelegate:nil];
  [webView release];
  </code></pre>
  
  <p>Stack trace is below:</p>
  
  <pre><code>#2  0x359d34ae in WebCore::SharedBuffer::~SharedBuffer
  #3  0x358fdab8 in WebCore::DocumentLoader::~DocumentLoader
  #4  0x332d3c00 in WebDocumentLoaderMac::~WebDocumentLoaderMac
  #5  0x358fec8c in WebCore::FrameLoader::detachFromParent
  #6  0x332d8830 in -[WebView(WebPrivate) _close]
  #7  0x332d8757 in -[WebView close]
  #8  0x332d86db in -[WebView dealloc]
  #9  0x35890719 in WebCoreObjCDeallocOnWebThreadImpl
  #10 0x358d29ce in HandleWebThreadReleaseSource
  </code></pre>
  
  <p>Is there something else I need to do to prevent the leak/bad_access error?</p>