Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
282c6106
Commit
282c6106
authored
Mar 18, 2014
by
Xian Li
Committed by
antirez
Aug 27, 2014
Browse files
memtest: Add missing free()
Closes #1614
parent
25b5abe8
Changes
1
Show whitespace changes
Inline
Side-by-side
src/memtest.c
View file @
282c6106
...
@@ -237,6 +237,7 @@ void memtest_test(size_t megabytes, int passes) {
...
@@ -237,6 +237,7 @@ void memtest_test(size_t megabytes, int passes) {
memtest_progress_end
();
memtest_progress_end
();
memtest_compare_times
(
m
,
bytes
,
pass
,
4
);
memtest_compare_times
(
m
,
bytes
,
pass
,
4
);
}
}
free
(
m
);
}
}
void
memtest_non_destructive_invert
(
void
*
addr
,
size_t
size
)
{
void
memtest_non_destructive_invert
(
void
*
addr
,
size_t
size
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment