Samuel Thibault 5 年之前
父節點
當前提交
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