Samuel Thibault %!s(int64=6) %!d(string=hai) anos
pai
achega
02876ddd61
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/thread.c

+ 1 - 1
src/common/thread.c

@@ -364,7 +364,7 @@ static void _starpu_pthread_cond_auto_init(starpu_pthread_cond_t *cond)
 			/* Somebody already initialized it while we were
 			/* Somebody already initialized it while we were
 			 * calling xbt_cond_init, this one is now useless */
 			 * calling xbt_cond_init, this one is now useless */
 #ifdef STARPU_HAVE_SIMGRID_COND_H
 #ifdef STARPU_HAVE_SIMGRID_COND_H
-			xbt_cond_destroy(new_cond);
+			sg_cond_destroy(new_cond);
 #else
 #else
 			xbt_cond_destroy(new_cond);
 			xbt_cond_destroy(new_cond);
 #endif
 #endif