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
eac4115d
"tests/vscode:/vscode.git/clone" did not exist on "6dd1693c0e4bfae0ca0983b2a0bf70ae234a6bcb"
Commit
eac4115d
authored
Feb 04, 2020
by
WuYunlong
Committed by
antirez
Mar 05, 2020
Browse files
Fix lua related memory leak.
parent
d075df17
Changes
1
Show whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
eac4115d
...
@@ -2213,6 +2213,7 @@ void ldbEval(lua_State *lua, sds *argv, int argc) {
...
@@ -2213,6 +2213,7 @@ void ldbEval(lua_State *lua, sds *argv, int argc) {
ldbLog
(
sdscatfmt
(
sdsempty
(),
"<error> %s"
,
lua_tostring
(
lua
,
-
1
)));
ldbLog
(
sdscatfmt
(
sdsempty
(),
"<error> %s"
,
lua_tostring
(
lua
,
-
1
)));
lua_pop
(
lua
,
1
);
lua_pop
(
lua
,
1
);
sdsfree
(
code
);
sdsfree
(
code
);
sdsfree
(
expr
);
return
;
return
;
}
}
}
}
...
...
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