diff options
-rw-r--r-- | net.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -176,9 +176,7 @@ void net_quit(void) { fprintf(stderr, "net_quit()\n"); net_disconnect(); - // TODO is it possible to free xmpp_log_t ? log = NULL; - xmpp_ctx_free(ctx); xmpp_shutdown(); } @@ -205,7 +203,6 @@ void net_disconnect(void) { fprintf(stderr, "net_disconnect()\n"); if (sm_state) { - xmpp_free_sm_state(sm_state); sm_state = NULL; } @@ -237,7 +234,4 @@ void net_send_message(const char* sender, const char* content, xmpp_message_set_body(msg, content); xmpp_send(conn, msg); - xmpp_free(ctx, msg); - xmpp_free(ctx, uuid); - } |