X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f67e9f5d0e553ae935bd6cad29df46f1565173bf..68789b70e7a97bf748e0829eceeb4e2aca2cc490:/src/kernel/context/ContextThread.cpp diff --git a/src/kernel/context/ContextThread.cpp b/src/kernel/context/ContextThread.cpp index d22c7aa318..b78153fc4a 100644 --- a/src/kernel/context/ContextThread.cpp +++ b/src/kernel/context/ContextThread.cpp @@ -79,6 +79,7 @@ ThreadContext::~ThreadContext() { if (this->thread_) /* If there is a thread (maestro don't have any), wait for its termination */ thread_->join(); + delete thread_; } void *ThreadContext::wrapper(void *param)