Searched refs:new_hdr (Results 1 – 1 of 1) sorted by relevance
195 struct debug_memory_header *old_hdr, *new_hdr; in debug_realloc() local225 new_hdr = os_malloc(sizeof(*new_hdr) + new_size + sizeof(*new_ftr)); in debug_realloc()226 if(!new_hdr) { in debug_realloc()232 new_hdr->no = old_hdr->no; in debug_realloc()233 new_hdr->file = old_hdr->file; in debug_realloc()234 new_hdr->line = old_hdr->line; in debug_realloc()235 new_hdr->function = old_hdr->function; in debug_realloc()236 new_hdr->size = new_size; in debug_realloc()237 new_hdr->magic = DEBUG_MEMORY_MAGIC; in debug_realloc()239 new_ftr = footer_from_header(new_hdr); in debug_realloc()[all …]