git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db68915
)
s3: Do not free a string where we should not
author
Volker Lendecke
<vl@samba.org>
Sun, 25 Nov 2012 14:19:32 +0000
(14:19 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 26 Nov 2012 21:03:05 +0000
(22:03 +0100)
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
source3/winbindd/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cache.c
b/source3/winbindd/winbindd_cache.c
index af4684950acf0b51f07a8d0cc4ca2fdfa07ed8df..e3406a5858f2a1f74ed775df8b173a5d4b150651 100644
(file)
--- 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;
}