<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 31, 2015 at 2:02 AM, Elvis Lee <span dir="ltr"><<a href="mailto:kwangwoong.lee@lge.com" target="_blank">kwangwoong.lee@lge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
+               proxy_destroyed = !!(proxy->flags & WL_PROXY_FLAG_DESTROYED);<br>
+<br>
+               proxy->refcount--;<br>
+               if (proxy_destroyed && !proxy->refcount)<br>
+                       free(proxy);<br></blockquote><div><br></div><div>It seems like you don't need the temporary, and could put the test of the flag directly in the if statement?<br><br> <br></div></div></div></div>