mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
fix benchmark memleak in loop mode
This commit is contained in:
parent
acf73a0592
commit
0ae65bec60
@ -693,8 +693,8 @@ int main(int argc, const char **argv) {
|
||||
}
|
||||
|
||||
/* Run default benchmark suite. */
|
||||
do {
|
||||
data = zmalloc(config.datasize+1);
|
||||
do {
|
||||
memset(data,'x',config.datasize);
|
||||
data[config.datasize] = '\0';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user