mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
jabber.c: use FREE_SET_NULL macro
This commit is contained in:
parent
d7b969b135
commit
70f5ad2206
@ -106,9 +106,7 @@ jabber_restart(void)
|
||||
{
|
||||
jabber_conn.conn_status = JABBER_STARTED;
|
||||
jabber_conn.presence = PRESENCE_OFFLINE;
|
||||
if (jabber_conn.status != NULL)
|
||||
free(jabber_conn.status);
|
||||
jabber_conn.status = NULL;
|
||||
FREE_SET_NULL(jabber_conn.status);
|
||||
}
|
||||
|
||||
jabber_conn_status_t
|
||||
|
Loading…
Reference in New Issue
Block a user