summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-13 23:07:28 +0000
committerJeremy Allison <jra@samba.org>2003-01-13 23:07:28 +0000
commit2ad16e942d46b0ee33612e3e7f7e228af9ed7138 (patch)
treec6d3eeb46a064b877f51d7b90118f5ab1de65553 /source3/auth
parent1276959d7c32b98f0115b008765772bf33c72eab (diff)
downloadsamba-2ad16e942d46b0ee33612e3e7f7e228af9ed7138.tar.gz
samba-2ad16e942d46b0ee33612e3e7f7e228af9ed7138.tar.bz2
samba-2ad16e942d46b0ee33612e3e7f7e228af9ed7138.zip
Missing indirect in final free.
Jeremy. (This used to be commit faf443e5198e270f1a60d7a0939074efca750a94)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index ff0c392219..5fdfd0694a 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -705,8 +705,8 @@ static NTSTATUS get_user_groups_from_local_sam(const DOM_SID *user_sid,
for (i = 0; i < *n_groups; i++) {
if (!gid_to_sid(&(*groups)[i], (*unix_groups)[i])) {
DEBUG(1, ("get_user_groups_from_local_sam: failed to convert gid %ld to a sid!\n", (long int)(*unix_groups)[i+1]));
- SAFE_FREE(groups);
- SAFE_FREE(unix_groups);
+ SAFE_FREE(*groups);
+ SAFE_FREE(*unix_groups);
return NT_STATUS_NO_SUCH_USER;
}
}