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/pam_winbind.h | |
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/pam_winbind.h')
-rw-r--r-- | source3/nsswitch/pam_winbind.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h index 5618dc1b61..991c117656 100644 --- a/source3/nsswitch/pam_winbind.h +++ b/source3/nsswitch/pam_winbind.h @@ -68,13 +68,7 @@ do { \ * Don't just free it, forget it too. */ -#define _pam_drop(X) \ -do { \ - if (X) { \ - free(X); \ - X=NULL; \ - } \ -} while (0) +#define _pam_drop(X) SAFE_FREE(X) #define x_strdup(s) ( (s) ? strdup(s):NULL ) #endif |