Samuel Thibault лет назад: 5
Родитель
Сommit
02876ddd61
1 измененных файлов с 1 добавлено и 1 удалено
  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
 			 * calling xbt_cond_init, this one is now useless */
 #ifdef STARPU_HAVE_SIMGRID_COND_H
-			xbt_cond_destroy(new_cond);
+			sg_cond_destroy(new_cond);
 #else
 			xbt_cond_destroy(new_cond);
 #endif