Browse Source

fxt: Fix memleak

Samuel Thibault 4 years ago
parent
commit
289df4831f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tools/starpu_fxt_stats.c

+ 4 - 0
tools/starpu_fxt_stats.c

@@ -184,6 +184,10 @@ int main(int argc, char **argv)
 		}
 	}
 
+#ifdef HAVE_FXT_BLOCKEV_LEAVE
+	fxt_blockev_leave(block);
+#endif
+
 #ifdef HAVE_FXT_CLOSE
 	fxt_close(fut);
 #else