diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/smbpasswd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index 3af7e56f7d..d93261eade 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -137,6 +137,7 @@ static int process_options(int argc, char **argv, int local_flags) case 'n': local_flags |= LOCAL_SET_NO_PASSWORD; local_flags &= ~LOCAL_SET_PASSWORD; + SAFE_FREE(new_passwd); new_passwd = smb_xstrdup("NO PASSWORD"); break; case 'r': |