Added stanza free functions

This commit is contained in:
James Booth
2015-05-17 20:36:11 +01:00
parent f7b3be3699
commit 2e1a2f7c14
3 changed files with 37 additions and 4 deletions

View File

@@ -218,7 +218,7 @@ server_run(int port)
static void
_shutdown(void)
{
stanza_show_all();
// stanza_show_all();
xmppclient_end_session(client);
parser_close();
@@ -226,5 +226,6 @@ _shutdown(void)
shutdown(listen_socket, 2);
close(listen_socket);
stanza_free_all();
log_close();
}