git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
[obnox/samba/samba-obnox.git]
/
source
/
nsswitch
/
winbindd_dual.c
diff --git
a/source/nsswitch/winbindd_dual.c
b/source/nsswitch/winbindd_dual.c
index d4ec6e586db29510a28252ac9de961ea3cf63492..587507ee29046c65960e87e07fc16e8b8538a957 100644
(file)
--- a/
source/nsswitch/winbindd_dual.c
+++ b/
source/nsswitch/winbindd_dual.c
@@
-117,7
+117,7
@@
void dual_send_request(struct winbindd_cli_state *state)
if (!background_process) return;
- list =
malloc(sizeof(*list)
);
+ list =
SMB_MALLOC_P(struct dual_list
);
if (!list) return;
list->next = NULL;