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
07473fea
Commit
07473fea
authored
Feb 22, 2019
by
antirez
Browse files
ACL: fix ACLSaveToFile() return value.
parent
2bea3929
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
07473fea
...
@@ -1324,7 +1324,7 @@ cleanup:
...
@@ -1324,7 +1324,7 @@ cleanup:
if
(
tmpfilename
)
unlink
(
tmpfilename
);
if
(
tmpfilename
)
unlink
(
tmpfilename
);
sdsfree
(
tmpfilename
);
sdsfree
(
tmpfilename
);
sdsfree
(
acl
);
sdsfree
(
acl
);
return
C_OK
;
return
retval
;
}
}
/* This function is called once the server is already running, modules are
/* This function is called once the server is already running, modules are
...
...
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