diff options
author | Simo Sorce <idra@samba.org> | 2001-09-17 04:52:45 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-09-17 04:52:45 +0000 |
commit | b50d10c2a313b45bbc195b13a353a20af0ab917a (patch) | |
tree | 9da47962670ff5b98c6f34ec085ffae507a4edc6 /source3/nsswitch/winbindd_glue.c | |
parent | 1f312492ecf8b3215bddf5c2f2d9fb2cbe2bf098 (diff) | |
download | samba-b50d10c2a313b45bbc195b13a353a20af0ab917a.tar.gz samba-b50d10c2a313b45bbc195b13a353a20af0ab917a.tar.bz2 samba-b50d10c2a313b45bbc195b13a353a20af0ab917a.zip |
move to SAFE_FREE()
(This used to be commit 03dc67788f68c9e01b5a82fdf43f837cb19f4608)
Diffstat (limited to 'source3/nsswitch/winbindd_glue.c')
-rw-r--r-- | source3/nsswitch/winbindd_glue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_glue.c b/source3/nsswitch/winbindd_glue.c index 0b721e36d2..0c508ccf4b 100644 --- a/source3/nsswitch/winbindd_glue.c +++ b/source3/nsswitch/winbindd_glue.c @@ -82,7 +82,7 @@ BOOL wb_lsa_open_policy(char *server, BOOL sec_qos, uint32 des_access, if (!NT_STATUS_IS_OK(result) && pol->cli) { if (pol->cli->initialised) cli_shutdown(pol->cli); - free(pol->cli); + SAFE_FREE(pol->cli); } return NT_STATUS_IS_OK(result); @@ -228,7 +228,7 @@ BOOL wb_samr_connect(char *server, uint32 access_mask, CLI_POLICY_HND *pol) if (!NT_STATUS_IS_OK(result) && pol->cli) { if (pol->cli->initialised) cli_shutdown(pol->cli); - free(pol->cli); + SAFE_FREE(pol->cli); } return NT_STATUS_IS_OK(result); |