diff options
author | Volker Lendecke <vl@samba.org> | 2012-11-25 14:19:32 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-11-26 22:03:05 +0100 |
commit | ed68f75b676a6b1d08f9668d29ff6d09f558fbe6 (patch) | |
tree | a986be0436ae80460eddc48875efa6d11f977478 /source3 | |
parent | db68915a4eaaedede9dac77c6c748718ce156139 (diff) | |
download | samba-ed68f75b676a6b1d08f9668d29ff6d09f558fbe6.tar.gz samba-ed68f75b676a6b1d08f9668d29ff6d09f558fbe6.tar.bz2 samba-ed68f75b676a6b1d08f9668d29ff6d09f558fbe6.zip |
s3: Do not free a string where we should not
Reviewed by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov 26 22:03:05 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index af4684950a..e3406a5858 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -1192,7 +1192,7 @@ NTSTATUS resolve_alias_to_username( TALLOC_CTX *mem_ctx, if ( (upper_name = SMB_STRDUP(alias)) == NULL ) return NT_STATUS_NO_MEMORY; if (!strupper_m(upper_name)) { - SAFE_FREE(alias); + SAFE_FREE(upper_name); return NT_STATUS_INVALID_PARAMETER; } |