code cleanup

This commit is contained in:
Steffen Vogel 2012-02-09 10:03:05 +01:00
parent f7651ca9dd
commit a0c17f2ead

View file

@ -423,9 +423,9 @@ int main(int argc, char *argv[]) {
channel_free(ch);
}
list_free(&mapping->channels);
meter_close(mtr); /* closing connection */
list_free(&mapping->channels);
meter_free(mtr);
}
@ -437,11 +437,10 @@ int main(int argc, char *argv[]) {
#endif /* LOCAL_SUPPORT */
/* householding */
free(options.config);
list_free(&mappings);
curl_global_cleanup();
free(options.config);
/* close logfile */
if (options.logfd) {
free(options.log);