mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
smbpasswd: always free frame.
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>
This commit is contained in:
parent
84fb37fe37
commit
634a63d934
@ -602,10 +602,10 @@ int main(int argc, char **argv)
|
||||
|
||||
if (local_flags & LOCAL_AM_ROOT) {
|
||||
secrets_init();
|
||||
return 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user