<div dir="ltr">Ben, Hannes, I'd appreciate your ack on this patch.<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 10:08 AM,  <span dir="ltr"><<a href="mailto:zhang.kai16@zte.com.cn" target="_blank">zhang.kai16@zte.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">As a global variable waiter_attr of thread
attribute was set up in the daemon, </font>
<br><font size="2" face="sans-serif">however,it hasn't been destroyed when
the daemon exited.</font>
<br><font size="2" face="sans-serif">We need deinitialize waiter_attr.</font>
<br><font size="2" face="sans-serif"> <br>
</font>
<br><tt><font size="2">---<br>
 multipathd/main.c | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/multipathd/main.c b/multipathd/main.c<br>
index b86374f..09c5485 100644<br>
--- a/multipathd/main.c<br>
+++ b/multipathd/main.c<br>
@@ -2317,6 +2317,9 @@ child (void * param)<br>
                  conf
= NULL;<br>
                  udev_unref(udev);<br>
                  udev
= NULL;<br>
+<br>
+                
pthread_attr_destroy(&waiter_attr);<br>
+<br>
 #ifdef _DEBUG_<br>
                  dbg_free_final(NULL);<br>
 #endif<span class="HOEnZb"><font color="#888888"><br>
-- <br>
1.9.1<br>
</font></span></font></tt><span class="HOEnZb"><font color="#888888">
<br>
<br>

<br><pre><font color="blue">
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

</font></pre><br>
</font></span><br>--<br>
dm-devel mailing list<br>
<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br></blockquote></div><br></div>