Did join() frees allocated memory? - C++11 Threads
<p>Imagine that I use <code>C++11 threads</code>. The thread will run a function that do <code>malloc</code>. After that I will use <code>join</code> without <code>free</code> (the memory). So, I killed the thread. It is expected that the memory frees automatically?  </p>