<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SOUP] Add initial implementation of NetworkProcess disk cache"
   href="https://bugs.webkit.org/show_bug.cgi?id=143872#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SOUP] Add initial implementation of NetworkProcess disk cache"
   href="https://bugs.webkit.org/show_bug.cgi?id=143872">bug 143872</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=143872#c22">comment #22</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=251553&amp;action=diff" name="attach_251553" title="Use fast malloc/free in IOChannel too">attachment 251553</a> <a href="attachment.cgi?id=251553&amp;action=edit" title="Use fast malloc/free in IOChannel too">[details]</a></span>
&gt; Use fast malloc/free in IOChannel too
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=251553&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=251553&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebKit2/NetworkProcess/cache/NetworkCacheIOChannelSoup.cpp:201
&gt; &gt; +    WriteAsyncData* asyncData = new WriteAsyncData { this, data.soupBuffer(), completionHandler };
&gt; 
&gt; It would be nicer and safer to use std::unique_ptr instead of explicit
&gt; new/delete for memory management.
&gt; 
&gt; auto asyncData = std::make_unique&lt;WriteAsyncData&gt;(...)</span >

I didn't do this because the pointer is passed as user data of a C callback.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>