Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
9564ed7c
Commit
9564ed7c
authored
May 18, 2020
by
hwware
Committed by
antirez
May 22, 2020
Browse files
Redis-Benchmark: avoid potentical memmory leaking
parent
2e418274
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
9564ed7c
...
...
@@ -303,7 +303,7 @@ fail:
else
fprintf
(
stderr
,
"%s
\n
"
,
hostsocket
);
freeReplyObject
(
reply
);
redisFree
(
c
);
z
free
(
cfg
);
free
RedisConfig
(
cfg
);
return
NULL
;
}
static
void
freeRedisConfig
(
redisConfig
*
cfg
)
{
...
...
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