Samuel Thibault 4 rokov pred
rodič
commit
6b8954f325
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      src/debug/traces/starpu_fxt.c

+ 3 - 0
src/debug/traces/starpu_fxt.c

@@ -4248,6 +4248,9 @@ void _starpu_fxt_parse_new_file(char *filename_in, struct starpu_fxt_options *op
 		}
 	}
 
+	for (i = 0; i < STARPU_NMAXWORKERS; i++)
+		free(options->worker_archtypes[i].devices);
+
 	/* Close the trace file */
 	if (close(fd_in))
 	{