summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-14 06:22:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:27 -0500
commit9c046e7ad91911257f530b7ee2fe416a76a66bb7 (patch)
tree2e4842b44fc56440f20eb6cb7ca2e963de0f2626
parentc1bcddd803d2e33e5145ad585c4873d27207aeca (diff)
downloadsamba-9c046e7ad91911257f530b7ee2fe416a76a66bb7.tar.gz
samba-9c046e7ad91911257f530b7ee2fe416a76a66bb7.tar.bz2
samba-9c046e7ad91911257f530b7ee2fe416a76a66bb7.zip
r14365: As solaris nss includes includes.h, make sure we use
the correct malloc-macros. Jeremy. (This used to be commit 412dc6f5dbc796126b94f3809fe660afac5d3c2a)
-rw-r--r--source3/nsswitch/winbind_nss_solaris.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbind_nss_solaris.c b/source3/nsswitch/winbind_nss_solaris.c
index b94b444fb4..04f464a798 100644
--- a/source3/nsswitch/winbind_nss_solaris.c
+++ b/source3/nsswitch/winbind_nss_solaris.c
@@ -185,7 +185,7 @@ _nss_winbind_passwd_constr (const char* db_name,
{
nss_backend_t *be;
- if(!(be = (nss_backend_t*) malloc(sizeof(nss_backend_t))) )
+ if(!(be = SMB_MALLOC_P(nss_backend_t)) )
return NULL;
be->ops = passwd_ops;
@@ -329,7 +329,7 @@ _nss_winbind_group_constr (const char* db_name,
{
nss_backend_t* be;
- if(!(be = (nss_backend_t*) malloc(sizeof(nss_backend_t))) )
+ if(!(be = SMB_MALLOC_P(nss_backend_t)) )
return NULL;
be->ops = group_ops;
@@ -580,7 +580,7 @@ _nss_winbind_common_constr (nss_backend_op_t ops[], int n_ops)
{
nss_backend_t* be;
- if(!(be = (nss_backend_t*) malloc(sizeof(nss_backend_t))) )
+ if(!(be = SMB_MALLOC_P(nss_backend_t)) )
return NULL;
be->ops = ops;