X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/94a6ea22dbd2f12d1015925d3c3fe7a95b38d2e3..1d04f47ddcc46f37eca622ca5a343c7197115990:/src/xbt/xbt_os_synchro.c diff --git a/src/xbt/xbt_os_synchro.c b/src/xbt/xbt_os_synchro.c index 6c982bcf52..22a4908db4 100644 --- a/src/xbt/xbt_os_synchro.c +++ b/src/xbt/xbt_os_synchro.c @@ -70,7 +70,7 @@ void xbt_cond_broadcast(xbt_cond_t cond) void xbt_cond_destroy(xbt_cond_t cond) { - SIMIX_cond_destroy((smx_cond_t) cond); + SIMIX_cond_unref((smx_cond_t) cond); } /***** barrier related functions *****/