<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jul 22, 2017 at 12:40 AM,  <span dir="ltr"><<a href="mailto:aruna@multicorewareinc.com" target="_blank">aruna@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""># HG changeset patch<br>
# User Aruna Matheswaran <<a href="mailto:aruna@multicorewareinc.com">aruna@multicorewareinc.com</a>><br>
# Date 1500457328 -19800<br>
#      Wed Jul 19 15:12:08 2017 +0530<br>
# Branch stable<br>
</span># Node ID a1336339534466b86ec62ed3ddc269<wbr>5c794d7b58<br>
<span class=""># Parent  adbcc90bdef36b50a091deb5b0d0ad<wbr>77debfbee7<br>
threadpool: fix memory leak<br></span></blockquote><div><br></div><div>Pushed into stable branch</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
</span>diff -r adbcc90bdef3 -r a13363395344 source/common/threadpool.cpp<br>
<span class="">--- a/source/common/threadpool.cpp      Thu Jul 13 16:50:18 2017 +0530<br>
+++ b/source/common/threadpool.cpp      Wed Jul 19 15:12:08 2017 +0530<br>
@@ -454,6 +454,7 @@<br>
                     if ((nodeMaskPerPool[node] >> j) & 1)<br>
                         len += sprintf(nodesstr + len, ",%d", j);<br>
                 x265_log(p, X265_LOG_INFO, "Thread pool %d using %d threads on numa nodes %s\n", i, numThreads, nodesstr + 1);<br>
</span>+                delete[] nodesstr;<br>
<div class="HOEnZb"><div class="h5">             }<br>
             else<br>
                 x265_log(p, X265_LOG_INFO, "Thread pool created using %d threads\n", numThreads);<br>
</div></div><br>______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div></div>