From 783bad08971831a410b1965feb91b3f3c9709951 Mon Sep 17 00:00:00 2001 From: Damian Obernikowicz Date: Tue, 19 Aug 2014 23:08:42 +0200 Subject: [PATCH 1/3] Fixed memory leak --- src/auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth.c b/src/auth.c index 2371925..ea4d4b5 100644 --- a/src/auth.c +++ b/src/auth.c @@ -556,6 +556,7 @@ static void _auth(xmpp_conn_t * const conn) } xmpp_stanza_set_text(authdata, str); xmpp_free(conn->ctx, str); + xmpp_free(conn->ctx, authid); xmpp_stanza_add_child(auth, authdata); xmpp_stanza_release(authdata); From 077afae693008f516444c4e75bac0a3c2df1e08e Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Tue, 26 Aug 2014 14:26:43 +0300 Subject: [PATCH 2/3] Added tags to .gitignore This file is generated by ctags. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 029ff3d..5b79e51 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ tests/check_parser *.zip docs/html TAGS +tags examples/basic examples/active examples/roster From cf361d35fe3e78412e79fff7cc85f54b44a404ba Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Tue, 26 Aug 2014 14:32:28 +0300 Subject: [PATCH 3/3] auth: removed useless static declaration _handle_open_tls() declared as static function but not defined. --- src/auth.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/auth.c b/src/auth.c index ea4d4b5..7530b27 100644 --- a/src/auth.c +++ b/src/auth.c @@ -56,7 +56,6 @@ #endif static void _auth(xmpp_conn_t * const conn); -static void _handle_open_tls(xmpp_conn_t * const conn); static void _handle_open_sasl(xmpp_conn_t * const conn); static int _handle_missing_legacy(xmpp_conn_t * const conn, void * const userdata);