Selaa lähdekoodia

Fix spurious free

Samuel Thibault 5 vuotta sitten
vanhempi
commit
f88b95aaab
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/profiling/bound.c

+ 1 - 1
src/profiling/bound.c

@@ -168,8 +168,8 @@ static void _starpu_bound_clear(int record, int deps, int prio)
 					free(t->duration[i][j]);
 				free(t->duration[i]);
 			}
-			free(t->deps);
 		}
+		free(t->deps);
 		free(t);
 		t = next;
 	}