1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

more auto_char

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel 2023-05-10 11:08:44 +02:00
parent 7d9c3c1b32
commit 08d68d329b

View File

@ -85,9 +85,8 @@ cl_ev_connect_account(ProfAccount* account)
void void
cl_ev_disconnect(void) cl_ev_disconnect(void)
{ {
char* mybarejid = connection_get_barejid(); auto_char char* mybarejid = connection_get_barejid();
cons_show("%s logged out successfully.", mybarejid); cons_show("%s logged out successfully.", mybarejid);
free(mybarejid);
ui_close_all_wins(); ui_close_all_wins();
ev_disconnect_cleanup(); ev_disconnect_cleanup();