<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>11286</bug_id>
          
          <creation_ts>2006-10-13 18:29:28 -0700</creation_ts>
          <short_desc>Allocator mismatch in CookieJarWin</short_desc>
          <delta_ts>2006-10-31 10:52:32 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darin Fisher (:fishd, Google)">fishd</reporter>
          <assigned_to name="Darin Fisher (:fishd, Google)">fishd</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53290</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2006-10-13 18:29:28 -0700</bug_when>
    <thetext>Allocator mismatch in CookieJarWin:

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

That should be &quot;delete[] buffer&quot; though this surely doesn&apos;t cause any real problem since UChar doesn&apos;t have a destructor.  Anyways, patch coming up...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53291</commentid>
    <comment_count>1</comment_count>
      <attachid>11084</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2006-10-13 18:31:00 -0700</bug_when>
    <thetext>Created attachment 11084
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48412</commentid>
    <comment_count>2</comment_count>
      <attachid>11084</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-10-31 04:42:13 -0800</bug_when>
    <thetext>Comment on attachment 11084
patch

r=me

Thanks also for cleaning up the style issues. This should be clear to land.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48224</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-10-31 10:52:32 -0800</bug_when>
    <thetext>Committed revision 17485.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>11084</attachid>
            <date>2006-10-13 18:31:00 -0700</date>
            <delta_ts>2006-10-31 04:42:13 -0800</delta_ts>
            <desc>patch</desc>
            <filename>fix-1.diff</filename>
            <type>text/plain</type>
            <size>1614</size>
            <attacher name="Darin Fisher (:fishd, Google)">fishd</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDE3MDUy
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDYtMTAt
MTMgIE1vcmdhbkwgIDxtb3JnYW5sLndlYmtpdEB5YWhvby5jb20+CisKKyAgICAgICAgUmV2aWV3
ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgRml4ZXMgaHR0cDovL2J1Z3Mud2Via2l0
Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTEyODYKKyAgICAgICAgSW5jbHVkZXMgc29tZSBDUkxGIC0+
IExGIGZpeHVwcy4KKworICAgICAgICAqIHBsYXRmb3JtL3dpbi9Db29raWVKYXJXaW4uY3BwOgor
ICAgIC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XRDb29raWUoKFVDaGFyKilzdHIu
dW5pY29kZSgpLCAwLCAwLCAmY291bnQpOworICAgIGlmIChjb3VudCA8PSAxKSAvLyBOdWxsIHRl
cm1pbmF0b3IgY291bnRzIGFzIDEuCisgICAgICAgIHJldHVybiBTdHJpbmcoKTsKKworICAgIFVD
aGFyKiBidWZmZXIgPSBuZXcgVUNoYXJbY291bnRdOworICAgIEludGVybmV0R2V0Q29va2llKChV
Q2hhciopc3RyLnVuaWNvZGUoKSwgMCwgYnVmZmVyLCAmY291bnQpOworICAgIFN0cmluZyYgcmVz
dWx0ID0gU3RyaW5nKGJ1ZmZlciwgY291bnQtMSk7IC8vIElnbm9yZSB0aGUgbnVsbCB0ZXJtaW5h
dG9yLgorICAgIGRlbGV0ZVtdIGJ1ZmZlcjsKKyAgICByZXR1cm4gcmVzdWx0OwogfQogCiBib29s
IGNvb2tpZXNFbmFibGVkKCkK
</data>
<flag name="review"
          id="3769"
          type_id="1"
          status="+"
          setter="mjs"
    />
          </attachment>
      

    </bug>

</bugzilla>