Explorar o código

fxt: Fix memleak

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
289df4831f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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