Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b9e5be5f
Unverified
Commit
b9e5be5f
authored
Mar 23, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Mar 23, 2020
Browse files
Merge pull request #7005 from hwware/memoryleakfix-redis-cli
fix potential memory leak in redis-cli lua debug mode
parents
89f46f0f
86691ccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
b9e5be5f
...
...
@@ -1993,6 +1993,8 @@ static void repl(void) {
if
(
config
.
eval
)
{
config
.
eval_ldb
=
1
;
config
.
output
=
OUTPUT_RAW
;
sdsfreesplitres
(
argv
,
argc
);
linenoiseFree
(
line
);
return
;
/* Return to evalMode to restart the session. */
}
else
{
printf
(
"Use 'restart' only in Lua debugging mode."
);
...
...
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