diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-16 10:13:08 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-16 11:14:52 +0100 |
commit | d0b9cc62f99a1feca68c473f3cd1e93e50ab2eab (patch) | |
tree | 789f7968e5ed6eb51bdb781cfe20f22d82b83ad6 /nsswitch | |
parent | 099d6f05cdb0800114d026786920a17ef649699f (diff) | |
download | samba-d0b9cc62f99a1feca68c473f3cd1e93e50ab2eab.tar.gz samba-d0b9cc62f99a1feca68c473f3cd1e93e50ab2eab.tar.bz2 samba-d0b9cc62f99a1feca68c473f3cd1e93e50ab2eab.zip |
nsswitch: only define TALLOC_ZERO if needed
metze
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/pam_winbind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/pam_winbind.h b/nsswitch/pam_winbind.h index 0395a1fd5b..25d673e231 100644 --- a/nsswitch/pam_winbind.h +++ b/nsswitch/pam_winbind.h @@ -171,6 +171,8 @@ struct pwb_context { uint32_t ctrl; }; +#ifndef TALLOC_FREE #define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0) +#endif #define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type) #define TALLOC_P(ctx, type) (type *)talloc_named_const(ctx, sizeof(type), #type) |