X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d6b4c74778b2ffd4fcc9d00726b3f4f06dcf6a01..7013392b1a0a3aed2219fa352e81826f8657fbe2:/src/s4u/s4u_Mutex.cpp?ds=sidebyside diff --git a/src/s4u/s4u_Mutex.cpp b/src/s4u/s4u_Mutex.cpp index b46c2986bf..88a271b0e5 100644 --- a/src/s4u/s4u_Mutex.cpp +++ b/src/s4u/s4u_Mutex.cpp @@ -9,6 +9,10 @@ namespace simgrid { namespace s4u { +Mutex::~Mutex() +{ + SIMIX_mutex_unref(pimpl_); +} /** @brief Blocks the calling actor until the mutex can be obtained */ void Mutex::lock() {