From 2ad16e942d46b0ee33612e3e7f7e228af9ed7138 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 13 Jan 2003 23:07:28 +0000 Subject: Missing indirect in final free. Jeremy. (This used to be commit faf443e5198e270f1a60d7a0939074efca750a94) --- source3/auth/auth_util.c | 4 ++-- 1 file 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; } } -- cgit