diff options
author | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2023-05-10 11:08:44 +0200 |
---|---|---|
committer | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2023-05-10 18:08:09 +0200 |
commit | 08d68d329bac4417a8c7a9c44d7398e460fc0751 (patch) | |
tree | e19adb7291cd04b6a2ca1533bba0731530cdbc44 /src/event | |
parent | 7d9c3c1b32fcf0804a384b80a3e205b646a69b71 (diff) | |
download | profani-tty-08d68d329bac4417a8c7a9c44d7398e460fc0751.tar.gz |
more `auto_char`
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'src/event')
-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(); |