mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix memleak in cmd_omemo_gen()
This commit is contained in:
parent
8a62d8e88b
commit
b04650fb1c
@ -8621,6 +8621,7 @@ cmd_omemo_gen(ProfWin* window, const char* const command, gchar** args)
|
||||
ui_update();
|
||||
ProfAccount* account = accounts_get_account(session_get_account_name());
|
||||
omemo_generate_crypto_materials(account);
|
||||
account_free(account);
|
||||
cons_show("OMEMO cryptographic materials generated. Your Device ID is %d.", omemo_device_id());
|
||||
return TRUE;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user