Merge pull request #1979 from profanity-im/fix/leaks

Fix memleaks
This commit is contained in:
Michael Vetter
2024-06-20 10:51:12 +02:00
committed by GitHub
3 changed files with 6 additions and 4 deletions

View File

@@ -8618,6 +8618,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