<?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>35534</bug_id>
          
          <creation_ts>2010-03-01 11:39:14 -0800</creation_ts>
          <short_desc>-[WebArchive initWithCoder:] leaks</short_desc>
          <delta_ts>2010-03-04 09:26:01 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Correia">jim.correia</reporter>
          <assigned_to name="Brady Eidson">beidson</assigned_to>
          <cc>beidson</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>194747</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Correia">jim.correia</who>
    <bug_when>2010-03-01 11:39:14 -0800</bug_when>
    <thetext>As of r41903, -[WebArchive initWithCoder:] leaks.

It retains the objects decoded from the unarchiver, passes them to another initializer, and never releases them.

This bug was introduced in r31281.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>194749</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-03-01 11:42:36 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/31281</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>194750</commentid>
    <comment_count>2</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-03-01 11:44:39 -0800</bug_when>
    <thetext>&lt;rdar://problem/7702420&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196096</commentid>
    <comment_count>3</comment_count>
      <attachid>50028</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-03-04 09:04:59 -0800</bug_when>
    <thetext>Created attachment 50028
Don&apos;t retain what we don&apos;t own.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196098</commentid>
    <comment_count>4</comment_count>
      <attachid>50028</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2010-03-04 09:11:02 -0800</bug_when>
    <thetext>Comment on attachment 50028
Don&apos;t retain what we don&apos;t own.

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196099</commentid>
    <comment_count>5</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-03-04 09:26:01 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/55529</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>50028</attachid>
            <date>2010-03-04 09:04:59 -0800</date>
            <delta_ts>2010-03-04 09:11:02 -0800</delta_ts>
            <desc>Don&apos;t retain what we don&apos;t own.</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1620</size>
            <attacher name="Brady Eidson">beidson</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9tYWMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9tYWMvQ2hh
bmdlTG9nCShyZXZpc2lvbiA1NTUyNykKKysrIFdlYktpdC9tYWMvQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwM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DbGFz
czpbV2ViUmVzb3VyY2UgY2xhc3NdXSkKLSAgICAgICAgICAgIG1haW5SZXNvdXJjZSA9IFtvYmpl
Y3QgcmV0YWluXTsKKyAgICAgICAgICAgIG1haW5SZXNvdXJjZSA9IG9iamVjdDsKICAgICAgICAg
b2JqZWN0ID0gW2RlY29kZXIgZGVjb2RlT2JqZWN0Rm9yS2V5OldlYlN1YnJlc291cmNlc0tleV07
CiAgICAgICAgIGlmIChpc0FycmF5T2ZDbGFzcyhvYmplY3QsIFtXZWJSZXNvdXJjZSBjbGFzc10p
KQotICAgICAgICAgICAgc3VicmVzb3VyY2VzID0gW29iamVjdCByZXRhaW5dOworICAgICAgICAg
ICAgc3VicmVzb3VyY2VzID0gb2JqZWN0OwogICAgICAgICBvYmplY3QgPSBbZGVjb2RlciBkZWNv
ZGVPYmplY3RGb3JLZXk6V2ViU3ViZnJhbWVBcmNoaXZlc0tleV07CiAgICAgICAgIGlmIChpc0Fy
cmF5T2ZDbGFzcyhvYmplY3QsIFtXZWJBcmNoaXZlIGNsYXNzXSkpCi0gICAgICAgICAgICBzdWJm
cmFtZUFyY2hpdmVzID0gW29iamVjdCByZXRhaW5dOworICAgICAgICAgICAgc3ViZnJhbWVBcmNo
aXZlcyA9IG9iamVjdDsKICAgICB9IEBjYXRjaChpZCkgewogICAgICAgICBbc2VsZiByZWxlYXNl
XTsKICAgICAgICAgcmV0dXJuIG5pbDsK
</data>
<flag name="review"
          id="33056"
          type_id="1"
          status="+"
          setter="ggaren"
    />
    <flag name="commit-queue"
          id="33057"
          type_id="3"
          status="-"
          setter="beidson"
    />
          </attachment>
      

    </bug>

</bugzilla>