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 | 03dc67788f68c9e01b5a82fdf43f837cb19f4608 (patch) | |
tree | 10a463f277bc9ab106ae6f8b6e4ef114a47eb019 /source/nsswitch/pam_winbind.h | |
parent | 1446a1562b1c618c023b056f476e26da7ee3d532 (diff) | |
download | samba-03dc67788f68c9e01b5a82fdf43f837cb19f4608.tar.gz samba-03dc67788f68c9e01b5a82fdf43f837cb19f4608.tar.xz samba-03dc67788f68c9e01b5a82fdf43f837cb19f4608.zip |
move to SAFE_FREE()
Diffstat (limited to 'source/nsswitch/pam_winbind.h')
-rw-r--r-- | source/nsswitch/pam_winbind.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/nsswitch/pam_winbind.h b/source/nsswitch/pam_winbind.h index 5618dc1b61f..991c117656f 100644 --- a/source/nsswitch/pam_winbind.h +++ b/source/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 |