mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Replace FREE_SET_NULLs with function call
This commit is contained in:
parent
2ecf20195c
commit
83171aff5b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user