summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/user_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/user_util.c b/source3/auth/user_util.c
index 9ae81fdec8..d6c47a8332 100644
--- 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;
}