From 83171aff5bf5b97f3fd237e58854f2157213629c Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 27 Feb 2013 20:56:04 +0000 Subject: Replace FREE_SET_NULLs with function call --- src/xmpp/connection.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/xmpp') diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index e8900c71..68bdcb3e 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -440,10 +440,7 @@ _connection_handler(xmpp_conn_t * const conn, saved_account.name = strdup(saved_details.name); saved_account.passwd = strdup(saved_details.passwd); - FREE_SET_NULL(saved_details.name); - FREE_SET_NULL(saved_details.jid); - FREE_SET_NULL(saved_details.passwd); - FREE_SET_NULL(saved_details.altdomain); + _connection_free_saved_details(); } chat_sessions_init(); -- cgit 1.4.1-2-gfad0