diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-02-06 13:50:30 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-02-06 13:50:30 +0000 |
commit | 1077f568756b00c10af6a0dfabebe49a2c7cf4a0 (patch) | |
tree | 3bbccc25a229f475de4b645d57861d7caffedd8a /navit/config_.c | |
parent | fd5dc6e76fcac67ae547ca2321c4c77f26b9603a (diff) | |
download | navit-1077f568756b00c10af6a0dfabebe49a2c7cf4a0.tar.gz |
Add:Core:Implement reference counting for navit object
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4926 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/config_.c')
-rw-r--r-- | navit/config_.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/navit/config_.c b/navit/config_.c index 8c08561e1..224f476ab 100644 --- a/navit/config_.c +++ b/navit/config_.c @@ -60,12 +60,7 @@ config_destroy(struct config *this_) static void config_terminate(int sig) { - struct attr_iter *iter=config_attr_iter_new(); - struct attr navit; dbg(0,"terminating\n"); - while (config_get_attr(config, attr_navit, &navit, iter)) - navit_destroy(navit.u.navit); - config_attr_iter_destroy(iter); config_destroy(config); } |