diff options
-rw-r--r-- | src/event/client_events.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/event/client_events.c b/src/event/client_events.c index 67ffec20..4dcda4f3 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -85,9 +85,8 @@ cl_ev_connect_account(ProfAccount* account) void cl_ev_disconnect(void) { - char* mybarejid = connection_get_barejid(); + auto_char char* mybarejid = connection_get_barejid(); cons_show("%s logged out successfully.", mybarejid); - free(mybarejid); ui_close_all_wins(); ev_disconnect_cleanup(); |