Mercurial > dnsbl
comparison src/context.cpp @ 77:8487650c98ee
start coding on new config syntax
author | carl |
---|---|
date | Sat, 16 Jul 2005 14:11:07 -0700 |
parents | 81f1e400e8ab |
children | 091d3fe3db46 |
comparison
equal
deleted
inserted
replaced
76:81f1e400e8ab | 77:8487650c98ee |
---|---|
59 default_context = NULL; | 59 default_context = NULL; |
60 } | 60 } |
61 | 61 |
62 | 62 |
63 CONFIG::~CONFIG() { | 63 CONFIG::~CONFIG() { |
64 if (debug_syslog) my_syslog("config::~config destructor"); | |
65 for (context_list::iterator i=contexts.begin(); i!=contexts.end(); i++) { | 64 for (context_list::iterator i=contexts.begin(); i!=contexts.end(); i++) { |
66 CONTEXT *c = *i; | 65 CONTEXT *c = *i; |
67 delete c; | 66 delete c; |
68 } | 67 } |
69 } | 68 } |