diff options
author | woglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-18 09:06:41 +0000 |
---|---|---|
committer | woglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-18 09:06:41 +0000 |
commit | b077466ff11b11aa0d4ad862aef569df9596df8a (patch) | |
tree | 17c9752525f9bd49312c36a1ed9da66a74094394 /navit/debug.c | |
parent | a773e420fba5cce87df70c6f3d0bbf85ad3c9cc1 (diff) | |
download | navit-b077466ff11b11aa0d4ad862aef569df9596df8a.tar.gz |
Fix:Core:Fix some memory leaks for debug stuff and one unreachable codeline
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3045 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/debug.c')
-rw-r--r-- | navit/debug.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/debug.c b/navit/debug.c index d30ab5d02..fa73c783e 100644 --- a/navit/debug.c +++ b/navit/debug.c @@ -221,3 +221,10 @@ void debug_set_logfile(const char *path) fflush(debug_fp); } } + +void debug_finished(void) { + g_free(gdb_program); + g_hash_table_destroy(debug_hash); + debug_destroy(); +} + |