1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r14365: As solaris nss includes includes.h, make sure we use

the correct malloc-macros.
Jeremy.
This commit is contained in:
Jeremy Allison 2006-03-14 06:22:18 +00:00 committed by Gerald (Jerry) Carter
parent a3b8bee3ff
commit 412dc6f5db

View File

@ -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;