mirror of
https://github.com/fluencelabs/redis
synced 2025-06-19 04:01:22 +00:00
Minor memory leak in redis-cli (issue #464)
This commit is contained in:
@ -488,9 +488,13 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cliReadReply(output_raw) != REDIS_OK)
|
if (cliReadReply(output_raw) != REDIS_OK) {
|
||||||
|
free(argvlen);
|
||||||
return REDIS_ERR;
|
return REDIS_ERR;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(argvlen);
|
||||||
return REDIS_OK;
|
return REDIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user