git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099d6f0
)
nsswitch: only define TALLOC_ZERO if needed
author
Stefan Metzmacher
<metze@samba.org>
Mon, 16 Mar 2009 09:13:08 +0000
(10:13 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 16 Mar 2009 10:14:52 +0000
(11:14 +0100)
metze
nsswitch/pam_winbind.h
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.h
b/nsswitch/pam_winbind.h
index 0395a1fd5b91dc545ef315858e0fda0fa2354c0e..25d673e231dd98fcd7f06826d11ac122d3340658 100644
(file)
--- 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)