SMB_MALLOC        247 lib/compression/mszip.c         if (!(q = (struct Ziphuft *)SMB_MALLOC((z + 1)*sizeof(struct Ziphuft))))
SMB_MALLOC         49 lib/replace/getaddrinfo.c #ifndef SMB_MALLOC
SMB_MALLOC        119 lib/replace/getaddrinfo.c 	struct addrinfo *ai = SMB_MALLOC(sizeof(*ai));
SMB_MALLOC        126 lib/replace/getaddrinfo.c 	psin = SMB_MALLOC(sizeof(*psin));
SMB_MALLOC        625 source3/client/client.c 	do_list_queue = (char *)SMB_MALLOC(do_list_queue_size);
SMB_MALLOC       4347 source3/client/client.c 			matches[0] = (char *)SMB_MALLOC(samelen+1);
SMB_MALLOC        144 source3/client/clitar.c 	tmp = (char *)SMB_MALLOC(size+1);
SMB_MALLOC        175 source3/client/clitar.c 		b = (char *)SMB_MALLOC(l+TBLOCK+100);
SMB_MALLOC        386 source3/client/clitar.c 	tarbuf=(char *)SMB_MALLOC(tbufsiz);      /* FIXME: We might not get the buffer */
SMB_MALLOC       1115 source3/client/clitar.c 	char *longname = (char *)SMB_MALLOC(namesize);
SMB_MALLOC       1669 source3/client/clitar.c 			if ((inclusion_buffer = (char *)SMB_MALLOC(inclusion_buffer_size)) == NULL) {
SMB_MALLOC       1710 source3/client/clitar.c 				if ((tmpstr = (char *)SMB_MALLOC(strlen(p)+1)) == NULL) {
SMB_MALLOC       1888 source3/client/clitar.c 			if ((tmpstr = (char *)SMB_MALLOC(strlen(cliplist[clipcount])+1)) == NULL) {
SMB_MALLOC        203 source3/intl/lang_tdb.c 	if (!(msgid_quoted = (char *)SMB_MALLOC(strlen(msgid) + count + 1)))
SMB_MALLOC        255 source3/lib/debug.c 	b = buf = (char *)SMB_MALLOC(dim+1);
SMB_MALLOC        555 source3/lib/debug.c 	format_bufr = (char *)SMB_MALLOC(FORMAT_BUFR_SIZE);
SMB_MALLOC         62 source3/lib/dprintf.c 	p2 = (char *)SMB_MALLOC(maxlen);
SMB_MALLOC         38 source3/lib/ldap_escape.c 	char *output = (char *)SMB_MALLOC(len);
SMB_MALLOC         97 source3/lib/ldap_escape.c 	output = (char *)SMB_MALLOC(2*strlen(s) + 1);
SMB_MALLOC        301 source3/lib/memcache.c 	e = (struct memcache_element *)SMB_MALLOC(element_size);
SMB_MALLOC         68 source3/lib/netapi/sid.c 	*sid = (struct domsid *)SMB_MALLOC(sizeof(struct domsid));
SMB_MALLOC         85 source3/lib/readline.c 	line = (char *)SMB_MALLOC(BUFSIZ);
SMB_MALLOC        281 source3/lib/substitute.c 	if ( (envname = (char *)SMB_MALLOC(copylen + 1 + 4)) == NULL ) {
SMB_MALLOC        143 source3/lib/sysacls.c 	if ((text = (char *)SMB_MALLOC(maxlen)) == NULL) {
SMB_MALLOC        245 source3/lib/sysacls.c 	if ((a = (struct smb_acl_t *)SMB_MALLOC(
SMB_MALLOC         78 source3/lib/system.c 	return SMB_MALLOC(size);
SMB_MALLOC       2147 source3/lib/util.c 	if ((p = SMB_MALLOC(size*count)) == NULL) {
SMB_MALLOC        527 source3/lib/util_sid.c 	buf = (char *)SMB_MALLOC(len);
SMB_MALLOC        545 source3/lib/util_sid.c 	buf = (char *)SMB_MALLOC(len);
SMB_MALLOC       1537 source3/lib/util_str.c 	s = (char *)SMB_MALLOC(len * 3 + 1);
SMB_MALLOC       1555 source3/lib/util_str.c 	s = (char *)SMB_MALLOC(len * 2 + 1);
SMB_MALLOC       2064 source3/lib/util_str.c 		*left = (char *)SMB_MALLOC(new_len);
SMB_MALLOC       2228 source3/lib/util_str.c 	temp3 = (char*)SMB_MALLOC(len);
SMB_MALLOC        338 source3/lib/util_tdb.c 			*b = (char *)SMB_MALLOC(*i);
SMB_MALLOC        111 source3/lib/util_unistr.c 		upcase_table = (smb_ucs2_t *)SMB_MALLOC(0x20000);
SMB_MALLOC        126 source3/lib/util_unistr.c 		lowcase_table = (smb_ucs2_t *)SMB_MALLOC(0x20000);
SMB_MALLOC        205 source3/lib/util_unistr.c 	valid_table = (uint8 *)SMB_MALLOC(0x10000);
SMB_MALLOC         48 source3/libads/ads_struct.c 	ret = (char *)SMB_MALLOC(len);
SMB_MALLOC        187 source3/libads/krb5_setpw.c 	packet->data = (char *)SMB_MALLOC(ap_req->length + cipherpw.length + (use_tcp ? 10 : 6 ));
SMB_MALLOC        510 source3/libads/krb5_setpw.c 		chpw_rep.data = (char *) SMB_MALLOC(chpw_rep.length);
SMB_MALLOC        972 source3/libads/sasl.c 	output_token.value = SMB_MALLOC(output_token.length);
SMB_MALLOC         59 source3/libgpo/gpo_filesync.c 	if ((data = (char *)SMB_MALLOC(read_size)) == NULL) {
SMB_MALLOC         85 source3/libnet/libnet_samsync_ldif.c 		suffix_attr = (char*)SMB_MALLOC(len+1);
SMB_MALLOC       1626 source3/libsmb/cliconnect.c 			cli->outbuf = (char *)SMB_MALLOC(CLI_SAMBA_MAX_LARGE_READX_SIZE+LARGE_WRITEX_HDR_SIZE+SAFETY_MARGIN);
SMB_MALLOC       1627 source3/libsmb/cliconnect.c 			cli->inbuf = (char *)SMB_MALLOC(CLI_SAMBA_MAX_LARGE_READX_SIZE+LARGE_WRITEX_HDR_SIZE+SAFETY_MARGIN);
SMB_MALLOC        508 source3/libsmb/clientgen.c 	cli->outbuf = (char *)SMB_MALLOC(cli->bufsize+SAFETY_MARGIN);
SMB_MALLOC        509 source3/libsmb/clientgen.c 	cli->inbuf = (char *)SMB_MALLOC(cli->bufsize+SAFETY_MARGIN);
SMB_MALLOC       1942 source3/libsmb/clifile.c 		data = (char *)SMB_MALLOC(data_len);
SMB_MALLOC       1950 source3/libsmb/clifile.c 		data = (char *)SMB_MALLOC(data_len);
SMB_MALLOC        277 source3/libsmb/clikrb5.c 		KRB5_KEY_DATA(key) = (KRB5_KEY_DATA_CAST *)SMB_MALLOC(password->length);
SMB_MALLOC       1414 source3/libsmb/clikrb5.c 	*kerb_addr = (smb_krb5_addresses *)SMB_MALLOC(sizeof(smb_krb5_addresses));
SMB_MALLOC       1425 source3/libsmb/clikrb5.c 		addrs = (krb5_address **)SMB_MALLOC(sizeof(krb5_address *) * num_addr);
SMB_MALLOC       1433 source3/libsmb/clikrb5.c 		addrs[0] = (krb5_address *)SMB_MALLOC(sizeof(krb5_address));
SMB_MALLOC       1443 source3/libsmb/clikrb5.c 		addrs[0]->contents = (unsigned char *)SMB_MALLOC(addrs[0]->length);
SMB_MALLOC       1457 source3/libsmb/clikrb5.c 		addrs = (krb5_addresses *)SMB_MALLOC(sizeof(krb5_addresses));
SMB_MALLOC       1466 source3/libsmb/clikrb5.c 		addrs->val = (krb5_address *)SMB_MALLOC(sizeof(krb5_address));
SMB_MALLOC       1475 source3/libsmb/clikrb5.c 		addrs->val[0].address.data = (unsigned char *)SMB_MALLOC(addrs->val[0].address.length);
SMB_MALLOC       1886 source3/libsmb/clikrb5.c 	pChksum	= (char *)SMB_MALLOC(GSSAPI_CHECKSUM_SIZE + fwdData.length );
SMB_MALLOC        569 source3/libsmb/libsmb_context.c                         netbios_name = (char *)SMB_MALLOC(17);
SMB_MALLOC         72 source3/libsmb/libsmb_dir.c 	dirent = (struct smbc_dirent *)SMB_MALLOC(size);
SMB_MALLOC        273 source3/libsmb/smb_seal.c 	*ppbuf_out = (char *)SMB_MALLOC(out_buf.length + 8); /* We know this can't wrap. */
SMB_MALLOC        109 source3/modules/onefs_dir.c 		rdp_direntries = SMB_MALLOC(RDP_DIRENTRIES_SIZE);
SMB_MALLOC        116 source3/modules/onefs_dir.c 		    SMB_MALLOC(RDP_BATCH_SIZE * sizeof(SMB_STRUCT_STAT));
SMB_MALLOC        122 source3/modules/onefs_dir.c 		rdp_cookies = SMB_MALLOC(RDP_BATCH_SIZE * sizeof(uint64_t));
SMB_MALLOC         44 source3/modules/vfs_aixacl.c 	file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
SMB_MALLOC         56 source3/modules/vfs_aixacl.c 		struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
SMB_MALLOC         96 source3/modules/vfs_aixacl.c 	file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
SMB_MALLOC        108 source3/modules/vfs_aixacl.c 		struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
SMB_MALLOC        223 source3/modules/vfs_aixacl_util.c 	file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
SMB_MALLOC        263 source3/modules/vfs_aixacl_util.c 			file_acl_temp = (struct acl *)SMB_MALLOC(acl_length);
SMB_MALLOC        116 source3/modules/vfs_cacheprime.c         if ((g_readbuf = SMB_MALLOC(g_readsz)) == NULL) {
SMB_MALLOC         73 source3/modules/vfs_dirsort.c 	data->directory_list = (SMB_STRUCT_DIRENT *)SMB_MALLOC(
SMB_MALLOC         95 source3/modules/vfs_dirsort.c 	data = (struct dirsort_privates *)SMB_MALLOC(
SMB_MALLOC        612 source3/modules/vfs_gpfs.c 	result = (struct gpfs_acl *)SMB_MALLOC(len);
SMB_MALLOC        401 source3/modules/vfs_hpuxacl.c 		(HPUX_ACL_T)SMB_MALLOC(sizeof(HPUX_ACE_T) * count);
SMB_MALLOC        281 source3/modules/vfs_recycle.c 	new_dir = (char *)SMB_MALLOC(len + 1);
SMB_MALLOC        334 source3/modules/vfs_solarisacl.c 		(SOLARIS_ACL_T)SMB_MALLOC(sizeof(aclent_t) * count);
SMB_MALLOC        208 source3/nmbd/nmbd_become_lmb.c 		if((userdata = (struct userdata_struct *)SMB_MALLOC(size)) == NULL) {
SMB_MALLOC        547 source3/nmbd/nmbd_become_lmb.c 	if((userdata = (struct userdata_struct *)SMB_MALLOC(size)) == NULL) {
SMB_MALLOC        324 source3/nmbd/nmbd_browsesync.c 	if((userdata = (struct userdata_struct *)SMB_MALLOC(size)) == NULL) {
SMB_MALLOC        518 source3/nmbd/nmbd_incomingrequests.c 				if ((prdata = (char *)SMB_MALLOC( namerec->data.num_ips * 6 )) == NULL) {
SMB_MALLOC        318 source3/nmbd/nmbd_nameregister.c 	userdata = (struct userdata_struct *)SMB_MALLOC(sizeof(*userdata) + strlen(tag) + 1);
SMB_MALLOC        542 source3/nmbd/nmbd_packets.c 	userdata = (struct userdata_struct *)SMB_MALLOC(sizeof(*userdata) + strlen(tag) + 1);
SMB_MALLOC        131 source3/nmbd/nmbd_responserecordsdb.c 					SMB_MALLOC(sizeof(struct userdata_struct)+userdata->userdata_len)) == NULL) {
SMB_MALLOC        150 source3/nmbd/nmbd_winsproxy.c 	struct userdata_struct *new_userdata = (struct userdata_struct *)SMB_MALLOC( userdata->userdata_len );
SMB_MALLOC        161 source3/nmbd/nmbd_winsserver.c 	data.dptr = (uint8 *)SMB_MALLOC(len);
SMB_MALLOC       1815 source3/nmbd/nmbd_winsserver.c 	if((prdata = (char *)SMB_MALLOC( num_ips * 6 )) == NULL) {
SMB_MALLOC       1877 source3/nmbd/nmbd_winsserver.c 			if((prdata = (char *)SMB_MALLOC( namerec->data.num_ips * 6 )) == NULL) {
SMB_MALLOC       1680 source3/passdb/passdb.c 		uint8 *pw_hist = (uint8 *)SMB_MALLOC(pwHistLen * PW_HISTORY_ENTRY_LEN);
SMB_MALLOC       1956 source3/passdb/passdb.c 	if ( (*buf=(uint8*)SMB_MALLOC(len)) == NULL) {
SMB_MALLOC        595 source3/passdb/pdb_smbpasswd.c 	if((new_entry = (char *)SMB_MALLOC( new_entry_length )) == NULL) {
SMB_MALLOC       1044 source3/printing/nt_printing.c 	if ((buf=(char *)SMB_MALLOC(DOS_HEADER_SIZE)) == NULL) {
SMB_MALLOC       1100 source3/printing/nt_printing.c 		if ((buf=(char *)SMB_MALLOC(section_table_bytes)) == NULL) {
SMB_MALLOC       1124 source3/printing/nt_printing.c 				if ((buf=(char *)SMB_MALLOC(section_bytes)) == NULL) {
SMB_MALLOC       1184 source3/printing/nt_printing.c 		if ((buf=(char *)SMB_MALLOC(VS_NE_BUF_SIZE)) == NULL) {
SMB_MALLOC        993 source3/printing/printing.c 	if ((data.dptr = (uint8 *)SMB_MALLOC(data.dsize)) == NULL)
SMB_MALLOC        258 source3/printing/tests/vlp.c 		queue.dptr = (unsigned char *)SMB_MALLOC(value.dsize +
SMB_MALLOC        627 source3/registry/reg_backend_db.c 	buffer = (uint8 *)SMB_MALLOC(1024);
SMB_MALLOC        114 source3/rpc_parse/parse_prs.c 		if((ps->data_p = (char *)SMB_MALLOC((size_t)size)) == NULL) {
SMB_MALLOC        277 source3/rpc_parse/parse_prs.c 		if((ps->data_p = (char *)SMB_MALLOC(new_size)) == NULL) {
SMB_MALLOC       2369 source3/rpc_server/srv_pipe.c 		char *data = (char *)SMB_MALLOC(data_len);
SMB_MALLOC         62 source3/rpcclient/cmd_echo.c 	if ( (in_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
SMB_MALLOC         68 source3/rpcclient/cmd_echo.c 	if ( (out_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
SMB_MALLOC        112 source3/rpcclient/cmd_echo.c 	if ( (out_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
SMB_MALLOC        152 source3/rpcclient/cmd_echo.c 	if ( (in_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
SMB_MALLOC        839 source3/smbd/fileio.c 	if((wcp->data = (char *)SMB_MALLOC(wcp->alloc_size)) == NULL) {
SMB_MALLOC        663 source3/smbd/ipc.c 		state->data = (char *)SMB_MALLOC(state->total_data+100);
SMB_MALLOC        687 source3/smbd/ipc.c 		state->param = (char *)SMB_MALLOC(state->total_param+100);
SMB_MALLOC        928 source3/smbd/lanman.c 		desc.base = tmpdata = (char *) SMB_MALLOC (desc.buflen);
SMB_MALLOC       3923 source3/smbd/lanman.c 		desc.base = tmpdata = (char *)SMB_MALLOC( desc.buflen );
SMB_MALLOC       4167 source3/smbd/lanman.c 			desc.base = tmpdata = (char *)SMB_MALLOC( desc.buflen );
SMB_MALLOC       4714 source3/smbd/lanman.c 	rdata = (char *)SMB_MALLOC(1024);
SMB_MALLOC       4719 source3/smbd/lanman.c 	rparam = (char *)SMB_MALLOC(1024);
SMB_MALLOC       2730 source3/smbd/nttrans.c 		if ((state->data = (char *)SMB_MALLOC(state->total_data)) == NULL) {
SMB_MALLOC       2751 source3/smbd/nttrans.c 		if ((state->param = (char *)SMB_MALLOC(state->total_param)) == NULL) {
SMB_MALLOC        622 source3/smbd/password.c 			member_list = (char *)SMB_MALLOC(list_len);
SMB_MALLOC        198 source3/smbd/posix_acls.c 	pai_buf = (char *)SMB_MALLOC(*store_size);
SMB_MALLOC        593 source3/smbd/posix_acls.c 	if ((pai_buf = (char *)SMB_MALLOC(pai_buf_size)) == NULL) {
SMB_MALLOC        616 source3/smbd/posix_acls.c 			if ((pai_buf = (char *)SMB_MALLOC(pai_buf_size)) == NULL)
SMB_MALLOC        664 source3/smbd/posix_acls.c 	if ((pai_buf = (char *)SMB_MALLOC(pai_buf_size)) == NULL) {
SMB_MALLOC        683 source3/smbd/posix_acls.c 			if ((pai_buf = (char *)SMB_MALLOC(pai_buf_size)) == NULL)
SMB_MALLOC        477 source3/smbd/quotas.c 	cutstr = (char *) SMB_MALLOC(len+1);
SMB_MALLOC       1034 source3/smbd/quotas.c 	cutstr = (char *) SMB_MALLOC(len+1);
SMB_MALLOC       7791 source3/smbd/trans2.c 		state->data = (char *)SMB_MALLOC(state->total_data);
SMB_MALLOC       7813 source3/smbd/trans2.c 		state->param = (char *)SMB_MALLOC(state->total_param);
SMB_MALLOC        351 source3/utils/net_rpc_printer.c 		if (!(data = (char *)SMB_MALLOC(read_size))) {
SMB_MALLOC       1504 source3/utils/ntlm_auth.c 	principal = (char *)SMB_MALLOC(
SMB_MALLOC        428 source3/utils/smbget.c 	readbuf = (char *)SMB_MALLOC(blocksize);
SMB_MALLOC        348 source3/winbindd/winbindd_group.c 		if (!(buf = (char *)SMB_MALLOC(buf_len))) {
SMB_MALLOC        702 source3/winbindd/winbindd_group.c 		if (!(buf = (char *)SMB_MALLOC(buf_len))) {
SMB_MALLOC       1773 source3/winbindd/winbindd_group.c 	ret = (char *)SMB_MALLOC(ret_size);
SMB_MALLOC        111 source3/winbindd/winbindd_pam.c 	state->response.extra_data.data = SMB_MALLOC(size);
SMB_MALLOC        138 source3/winbindd/winbindd_pam.c 	state->response.extra_data.data = SMB_MALLOC(blob.length);