r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
[obnox/samba/samba-obnox.git] / source / nsswitch / winbindd_dual.c
index d4ec6e586db29510a28252ac9de961ea3cf63492..587507ee29046c65960e87e07fc16e8b8538a957 100644 (file)
@@ -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;