<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:hiraditya@msn.com" title="hiraditya <hiraditya@msn.com>"> <span class="fn">hiraditya</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - False memory leak reported by clang static analyzer"
   href="http://llvm.org/bugs/show_bug.cgi?id=17474">bug 17474</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - False memory leak reported by clang static analyzer"
   href="http://llvm.org/bugs/show_bug.cgi?id=17474#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - False memory leak reported by clang static analyzer"
   href="http://llvm.org/bugs/show_bug.cgi?id=17474">bug 17474</a>
              from <span class="vcard"><a class="email" href="mailto:hiraditya@msn.com" title="hiraditya <hiraditya@msn.com>"> <span class="fn">hiraditya</span></a>
</span></b>
        <pre>I see...
Now when I'm trying with the latest release I'm getting the 4 reports (even
with .ii files).
1. Dereference of null pointer.
2. Returning null reference.
3. Called C++ object pointer is null.
4. call to malloc has an allocation of 0 byte.

but none of them are memory leaks!

I got the false memory leak errors while using a little old version of the
compiler. I guess we should close this bug.

If yo want the .cc files you can find it here:

<a href="https://chromium.googlesource.com/chromium/src/+/afd04fc04431e28d2b625209a92abd55374ae177/content/renderer/browser_plugin/browser_plugin_bindings.cc">https://chromium.googlesource.com/chromium/src/+/afd04fc04431e28d2b625209a92abd55374ae177/content/renderer/browser_plugin/browser_plugin_bindings.cc</a>


Thanks,</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>