<div dir="ltr">Reviewed-by: Robin Dong <<a href="mailto:sanbai@taobao.com">sanbai@taobao.com</a>></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-14 15:13 GMT+08:00 Liu Yuan <span dir="ltr"><<a href="mailto:namei.unix@gmail.com" target="_blank">namei.unix@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Though in reality, this wouldn't happen.<br>
<br>
Signed-off-by: Liu Yuan <<a href="mailto:namei.unix@gmail.com">namei.unix@gmail.com</a>><br>
---<br>
lib/work.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/lib/work.c b/lib/work.c<br>
index d483136..35413ff 100644<br>
--- a/lib/work.c<br>
+++ b/lib/work.c<br>
@@ -428,6 +428,7 @@ destroy_threads:<br>
sd_destroy_cond(&wi->pending_cond);<br>
sd_destroy_mutex(&wi->pending_lock);<br>
sd_destroy_mutex(&wi->finished_lock);<br>
+ free(wi);<br>
<br>
return NULL;<br>
}<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.2<br>
<br>
--<br>
sheepdog mailing list<br>
<a href="mailto:sheepdog@lists.wpkg.org">sheepdog@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/sheepdog" target="_blank">http://lists.wpkg.org/mailman/listinfo/sheepdog</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>--<br>Best Regard<br>Robin Dong
</div>