Selaa lähdekoodia

Fix memory leak in bounds

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

+ 1 - 0
src/profiling/bound.c

@@ -168,6 +168,7 @@ 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);
 		t = next;