summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-08 08:41:26 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-08 08:41:26 +0000
commit04d310b4d067d2ef2411b805a22065c38868e8b4 (patch)
treeb3673164a295d9934e1f0e7dddf4525324e95924
parent7d068355aae99060acac03c6633509545aa782a4 (diff)
downloadsamba-04d310b4d067d2ef2411b805a22065c38868e8b4.tar.gz
samba-04d310b4d067d2ef2411b805a22065c38868e8b4.tar.bz2
samba-04d310b4d067d2ef2411b805a22065c38868e8b4.zip
use SAFE_FREE(), not free().
Andrew Bartlett (This used to be commit 595dee660742f8bd5770a5f7aaf3a5d1987dbcfa)
-rw-r--r--source3/nsswitch/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index 602c2f55bb..b31dc92b38 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -880,7 +880,7 @@ enum winbindd_result winbindd_list_groups(struct winbindd_cli_state *state)
extra_data[extra_data_len++] = ',';
}
- free(groups.sam_entries);
+ SAFE_FREE(groups.sam_entries);
}
/* Assign extra_data fields in response structure */