summaryrefslogtreecommitdiff
path: root/navit/config_.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-02-06 13:50:30 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-02-06 13:50:30 +0000
commit1077f568756b00c10af6a0dfabebe49a2c7cf4a0 (patch)
tree3bbccc25a229f475de4b645d57861d7caffedd8a /navit/config_.c
parentfd5dc6e76fcac67ae547ca2321c4c77f26b9603a (diff)
downloadnavit-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_.c5
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);
}