Browse Source

fix memleak

Samuel Thibault 4 years ago
parent
commit
89e8647a72
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/microbenchs/bandwidth.c

+ 1 - 0
tests/microbenchs/bandwidth.c

@@ -337,6 +337,7 @@ int main(int argc, char **argv)
 
 	for (n = 0; n < total_ncpus; n++)
 		free(buffers[n]);
+	free(buffers);
 
 	return EXIT_SUCCESS;
 }