mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-07 15:01:10 +00:00
Fix output of util_memory_d
This commit is contained in:
parent
8fcc528ffa
commit
24acaa4eaf
1 changed files with 1 additions and 1 deletions
2
util.c
2
util.c
|
@ -57,7 +57,7 @@ void util_memory_d(void *ptrn, unsigned int line, const char *file) {
|
||||||
data = (void*)((unsigned char *)ptrn-sizeof(struct memblock_t));
|
data = (void*)((unsigned char *)ptrn-sizeof(struct memblock_t));
|
||||||
info = (struct memblock_t*)data;
|
info = (struct memblock_t*)data;
|
||||||
|
|
||||||
util_debug("MEM", "released: % 8u (bytes) address 0x%08X @ %s:%u\n", info->byte, data, file, line);
|
util_debug("MEM", "released: % 8u (bytes) address 0x%08X @ %s:%u\n", info->byte, ptrn, file, line);
|
||||||
mem_db += info->byte;
|
mem_db += info->byte;
|
||||||
mem_dt++;
|
mem_dt++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue