<?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>95086</bug_id>
          
          <creation_ts>2012-08-27 07:26:03 -0700</creation_ts>
          <short_desc>[EFL][WK2] Free Url_Bar on program exit</short_desc>
          <delta_ts>2012-08-27 13:31:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sudarsana Nagineni (babu)">naginenis</reporter>
          <assigned_to name="Sudarsana Nagineni (babu)">naginenis</assigned_to>
          <cc>lucas.de.marchi</cc>
    
    <cc>ryuan.choi</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>705254</commentid>
    <comment_count>0</comment_count>
    <who name="Sudarsana Nagineni (babu)">naginenis</who>
    <bug_when>2012-08-27 07:26:03 -0700</bug_when>
    <thetext>Url_Bar is leaky here. We must free it on program exit.

=1801== 24 bytes in 1 blocks are definitely lost in loss record 240 of 1,375
==1801==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1801==    by 0x4020E6: url_bar_add (url_bar.c:91)
==1801==    by 0x402CAD: browserCreate (main.c:246)
==1801==    by 0x402DD2: main (main.c:286)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705260</commentid>
    <comment_count>1</comment_count>
      <attachid>160715</attachid>
    <who name="Sudarsana Nagineni (babu)">naginenis</who>
    <bug_when>2012-08-27 07:40:46 -0700</bug_when>
    <thetext>Created attachment 160715
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705572</commentid>
    <comment_count>2</comment_count>
      <attachid>160715</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-08-27 13:16:59 -0700</bug_when>
    <thetext>Comment on attachment 160715
Patch

I guess in c you don&apos;t have destructors  Seems Browser should have a destroy() function that does this for you though...

None of this code matters... in fact, you&apos;re just slowing down exit.  BUt I can imagine it might be useful to clean this up for leak detection.

rs=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705604</commentid>
    <comment_count>3</comment_count>
      <attachid>160715</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-27 13:31:37 -0700</bug_when>
    <thetext>Comment on attachment 160715
Patch

Clearing flags on attachment: 160715

Committed r126788: &lt;http://trac.webkit.org/changeset/126788&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705605</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-27 13:31:41 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>160715</attachid>
            <date>2012-08-27 07:40:46 -0700</date>
            <delta_ts>2012-08-27 13:31:37 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>95086.patch</filename>
            <type>text/plain</type>
            <size>1008</size>
            <attacher name="Sudarsana Nagineni (babu)">naginenis</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbm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v
cmVfbWFpbl9sb29wX2JlZ2luKCk7CiAKKyAgICB1cmxfYmFyX2RlbChicm93c2VyLT51cmxfYmFy
KTsKICAgICBlY29yZV9ldmVudF9oYW5kbGVyX2RlbChoYW5kbGUpOwogICAgIGVjb3JlX2V2YXNf
ZnJlZShicm93c2VyLT5lZSk7CiAgICAgZnJlZShicm93c2VyKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>