"vscode:/vscode.git/clone" did not exist on "e04be06e89ac7158f0a5a79668ee734bf879c9e4"
Commit e689e936 authored by Matthias Petschick's avatar Matthias Petschick Committed by antirez
Browse files

fix benchmark memleak in loop mode

parent 01854f87
......@@ -693,8 +693,8 @@ int main(int argc, const char **argv) {
}
/* Run default benchmark suite. */
data = zmalloc(config.datasize+1);
do {
data = zmalloc(config.datasize+1);
memset(data,'x',config.datasize);
data[config.datasize] = '\0';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment