summaryrefslogtreecommitdiffstats
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
commit595dee660742f8bd5770a5f7aaf3a5d1987dbcfa (patch)
treed1e18dc3f7d177377ddb1e4007ff7456b7cd6a05
parent7c34de8096b86d2869e7177420fe129bd0c7541d (diff)
downloadsamba-595dee660742f8bd5770a5f7aaf3a5d1987dbcfa.tar.gz
samba-595dee660742f8bd5770a5f7aaf3a5d1987dbcfa.tar.xz
samba-595dee660742f8bd5770a5f7aaf3a5d1987dbcfa.zip
use SAFE_FREE(), not free().
Andrew Bartlett
-rw-r--r--source/nsswitch/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_group.c b/source/nsswitch/winbindd_group.c
index 602c2f55bb3..b31dc92b38c 100644
--- a/source/nsswitch/winbindd_group.c
+++ b/source/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 */