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 | a6664591f654a44f9c3c107ef4c864648faf5e02 (patch) | |
tree | c68209db408c5c494eb07ec23e76a6e1463ef899 /navit/debug.c | |
parent | e41bea14f80444be482d926ec6c71479aea46123 (diff) | |
download | navit-a6664591f654a44f9c3c107ef4c864648faf5e02.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 4ad58cb3d..f44b58d7f 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--; |