git.samba.org
/
idra
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0dcc90
)
Fix memleak I accidently introduced when reading from tdb.
author
Jeremy Allison
<jra@samba.org>
Wed, 10 Nov 2010 00:55:43 +0000
(16:55 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 10 Nov 2010 01:56:21 +0000
(
01:56
+0000)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Nov 10 01:56:21 UTC 2010 on sn-devel-104
source3/auth/user_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/user_util.c
b/source3/auth/user_util.c
index 9ae81fdec885b6fd668fea1deb9f94bce6bcd46a..d6c47a83321eb6918134ac022e30897afa3e4a7c 100644
(file)
--- a/
source3/auth/user_util.c
+++ b/
source3/auth/user_util.c
@@
-101,6
+101,7
@@
static bool fetch_map_from_gencache(TALLOC_CTX *ctx,
}
TALLOC_FREE(*p_user_out);
*p_user_out = talloc_strdup(ctx, value);
+ SAFE_FREE(value);
if (!*p_user_out) {
return false;
}