<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - wayland-client.c:dispatch_event() dereferences proxy after free"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61385#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - wayland-client.c:dispatch_event() dereferences proxy after free"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61385">bug 61385</a>
              from <span class="vcard"><a class="email" href="mailto:jadahl@gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
        <pre>Even though the static analyzer cought this, it can never happen in practice.
This is because for a proxy object to reach reference count zero the owner must
destroy it using wl_proxy_destroy(). This has the side effect of adding the
WL_PROXY_FLAG_DESTROYED flag, which would hit the

if (proxy_destroyed) {
        wl_closure_destroy(closure);
        return;
}

statement. However, I can add some extra checks to make the static analyzer
more happy.</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>