mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 18:36:22 +00:00
Replace FREE_SET_NULLs with function call
This commit is contained in:
@@ -440,10 +440,7 @@ _connection_handler(xmpp_conn_t * const conn,
|
|||||||
saved_account.name = strdup(saved_details.name);
|
saved_account.name = strdup(saved_details.name);
|
||||||
saved_account.passwd = strdup(saved_details.passwd);
|
saved_account.passwd = strdup(saved_details.passwd);
|
||||||
|
|
||||||
FREE_SET_NULL(saved_details.name);
|
_connection_free_saved_details();
|
||||||
FREE_SET_NULL(saved_details.jid);
|
|
||||||
FREE_SET_NULL(saved_details.passwd);
|
|
||||||
FREE_SET_NULL(saved_details.altdomain);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
chat_sessions_init();
|
chat_sessions_init();
|
||||||
|
|||||||
Reference in New Issue
Block a user