diff options
author | woglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-08-06 22:05:33 +0000 |
---|---|---|
committer | woglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-08-06 22:05:33 +0000 |
commit | fd59ffe613b9f5cff180a4a8869495795b8d8ba8 (patch) | |
tree | c68209db408c5c494eb07ec23e76a6e1463ef899 /navit/debug.c | |
parent | 1ee432e54a02d10d9ab5f0f00ab3ac9f4ded5e42 (diff) | |
download | navit-svn-fd59ffe613b9f5cff180a4a8869495795b8d8ba8.tar.gz |
Fix:core:use the right struct for tail in debug_free too
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3520 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/debug.c')
-rw-r--r-- | navit/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/debug.c b/navit/debug.c index 4ad58cb3..f44b58d7 100644 --- a/navit/debug.c +++ b/navit/debug.c @@ -346,7 +346,8 @@ debug_guard(const char *where, int line, const char *func, char *str) void debug_free(const char *where, int line, const char *func, void *ptr) { - struct malloc_head *head,*tail; + struct malloc_head *head; + struct malloc_tail *tail; if (!ptr) return; mallocs--; |