mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 00:36:21 +00:00
Free string after setting theme ui preference, fixed valgrind warning
This commit is contained in:
@@ -114,14 +114,14 @@ prof_run(const int disable_tls, char *log_level, char *account_name)
|
||||
g_timer_start(timer);
|
||||
}
|
||||
|
||||
ch = ui_get_char(inp, &size, &result);
|
||||
|
||||
ui_handle_special_keys(&ch, result);
|
||||
#ifdef HAVE_LIBOTR
|
||||
otr_poll();
|
||||
#endif
|
||||
jabber_process_events();
|
||||
ui_update();
|
||||
|
||||
ch = ui_get_char(inp, &size, &result);
|
||||
}
|
||||
|
||||
inp[size++] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user