search for: alloc_malloc

Displaying 1 result from an estimated 1 matches for "alloc_malloc".

2014 Nov 21
4
Bug#767295: [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel
..., size_t size) >> return NULL; >> } >> memset(block, 0, sizeof(*block) + size); >> + block->type = XC_DOM_MEM_TYPE_MALLOC_INTERNAL; >> block->next = dom->memblocks; >> dom->memblocks = block; >> dom->alloc_malloc += sizeof(*block) + size; >> @@ -151,23 +152,45 @@ void *xc_dom_malloc_page_aligned(struct xc_dom_image *dom, size_t size) >> return NULL; >> } >> memset(block, 0, sizeof(*block)); >> - block->mmap_len = size; >> - block->mmap_pt...