Samuel Thibault преди 4 години
родител
ревизия
60ed557957
променени са 1 файла, в които са добавени 10 реда и са изтрити 0 реда
  1. 10 0
      src/debug/traces/starpu_fxt.c

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

@@ -4257,6 +4257,16 @@ void _starpu_fxt_parse_new_file(char *filename_in, struct starpu_fxt_options *op
 
 	_starpu_fxt_component_deinit();
 
+
+	{
+		struct worker_entry *entry, *tmp;
+		HASH_ITER(hh, worker_ids, entry, tmp)
+		{
+			HASH_DEL(worker_ids, entry);
+			free(entry);
+		}
+	}
+
 #ifdef HAVE_FXT_BLOCKEV_LEAVE
 	fxt_blockev_leave(block);
 #endif