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
afc4b924
Commit
afc4b924
authored
Sep 04, 2015
by
antirez
Browse files
DEBUG DIGEST Set type memory leak fixed.
parent
34e489cb
Changes
1
Show whitespace changes
Inline
Side-by-side
src/debug.c
View file @
afc4b924
...
@@ -166,6 +166,7 @@ void computeDatasetDigest(unsigned char *final) {
...
@@ -166,6 +166,7 @@ void computeDatasetDigest(unsigned char *final) {
sds
sdsele
;
sds
sdsele
;
while
((
sdsele
=
setTypeNextObject
(
si
))
!=
NULL
)
{
while
((
sdsele
=
setTypeNextObject
(
si
))
!=
NULL
)
{
xorDigest
(
digest
,
sdsele
,
sdslen
(
sdsele
));
xorDigest
(
digest
,
sdsele
,
sdslen
(
sdsele
));
sdsfree
(
sdsele
);
}
}
setTypeReleaseIterator
(
si
);
setTypeReleaseIterator
(
si
);
}
else
if
(
o
->
type
==
OBJ_ZSET
)
{
}
else
if
(
o
->
type
==
OBJ_ZSET
)
{
...
...
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