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
3300e98f
Commit
3300e98f
authored
Jul 10, 2019
by
antirez
Browse files
Diskless replica: fix mispelled var name.
parent
dfcbeaf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rio.c
View file @
3300e98f
...
@@ -264,7 +264,7 @@ void rioFreeFd(rio *r, sds *remaining) {
...
@@ -264,7 +264,7 @@ void rioFreeFd(rio *r, sds *remaining) {
*
remaining
=
r
->
io
.
fd
.
buf
;
*
remaining
=
r
->
io
.
fd
.
buf
;
}
else
{
}
else
{
sdsfree
(
r
->
io
.
fd
.
buf
);
sdsfree
(
r
->
io
.
fd
.
buf
);
if
(
out_
remaining
BufferedData
)
*
remaining
=
NULL
;
if
(
remaining
)
*
remaining
=
NULL
;
}
}
r
->
io
.
fd
.
buf
=
NULL
;
r
->
io
.
fd
.
buf
=
NULL
;
}
}
...
...
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