Bug 11286

Summary: Allocator mismatch in CookieJarWin
Product: WebKit Reporter: Darin Fisher (:fishd, Google) <fishd>
Component: PlatformAssignee: Darin Fisher (:fishd, Google) <fishd>
Status: RESOLVED FIXED    
Severity: Trivial    
Priority: P2    
Version: 420+   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
patch mjs: review+

Description Darin Fisher (:fishd, Google) 2006-10-13 18:29:28 PDT
Allocator mismatch in CookieJarWin:

  UChar* buffer = new UChar[count];
  ...
  delete buffer;

That should be "delete[] buffer" though this surely doesn't cause any real problem since UChar doesn't have a destructor.  Anyways, patch coming up...
Comment 1 Darin Fisher (:fishd, Google) 2006-10-13 18:31:00 PDT
Created attachment 11084 [details]
patch
Comment 2 Maciej Stachowiak 2006-10-31 04:42:13 PST
Comment on attachment 11084 [details]
patch

r=me

Thanks also for cleaning up the style issues. This should be clear to land.
Comment 3 Alexey Proskuryakov 2006-10-31 10:52:32 PST
Committed revision 17485.