git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84fb37f
)
smbpasswd: always free frame.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:28:31 +0000
(
04:58
+0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:28:31 +0000
(
04:58
+0930)
We're about to exit, so it doesn't really matter, but might as well
unify the paths.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
source3/utils/smbpasswd.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbpasswd.c
b/source3/utils/smbpasswd.c
index bc3aaff54ec94be41dd4a4d980aae0c6ce5ba826..368998344484541caad23fad5736aa580446aff5 100644
(file)
--- a/
source3/utils/smbpasswd.c
+++ b/
source3/utils/smbpasswd.c
@@
-602,10
+602,10
@@
int main(int argc, char **argv)
if (local_flags & LOCAL_AM_ROOT) {
secrets_init();
- ret
urn
process_root(local_flags);
- }
-
- ret = process_nonroot(local_flags);
+ ret
=
process_root(local_flags);
+ }
else {
+ ret = process_nonroot(local_flags);
+ }
TALLOC_FREE(frame);
return ret;
}