Skip to content

Commit

Permalink
memtest: Add missing free()
Browse files Browse the repository at this point in the history
Closes #1614
  • Loading branch information
Xian Li authored and antirez committed Aug 27, 2014
1 parent 25b5abe commit 282c610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/memtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ void memtest_test(size_t megabytes, int passes) {
memtest_progress_end();
memtest_compare_times(m,bytes,pass,4);
}
free(m);
}

void memtest_non_destructive_invert(void *addr, size_t size) {
Expand Down

0 comments on commit 282c610

Please sign in to comment.