]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Fix output of util_memory_d
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 21 Aug 2012 08:30:53 +0000 (10:30 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 21 Aug 2012 08:30:53 +0000 (10:30 +0200)
util.c

diff --git a/util.c b/util.c
index 58fa8fb59bb37e3e0c17c4e738412cd036ff45c1..54fe21299d48a1f89a681673778282118cda1780 100644 (file)
--- a/util.c
+++ b/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));
     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_dt++;