Add log_free prototype.

This commit is contained in:
Arnaud Cornet 2007-09-09 11:24:21 +02:00
parent e9e9549228
commit 7967a47be0
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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