diff --git a/src/irc.c b/src/irc.c index 1a01c9f..72bc4ea 100644 --- a/src/irc.c +++ b/src/irc.c @@ -2418,8 +2418,6 @@ struct link *irc_link_new() void link_kill(bip_t *bip, struct link *link) { - int i; - hash_remove(&link->user->connections, link->name); free(link->name); irc_close((struct link_any *)link->l_server); diff --git a/src/log.h b/src/log.h index ea7777e..dc4adaa 100644 --- a/src/log.h +++ b/src/log.h @@ -96,4 +96,5 @@ void log_client_none_connected(log_t *logdata); void log_reset(logfilegroup_t *); int check_dir(char *filename, int is_fatal); void log_reinit_all(log_t *logdata); +void log_free(log_t *log); #endif