diff options
-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; } |