mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
fix missing free in key backup
This commit is contained in:
parent
ab67a28c74
commit
2043541f56
@ -57,6 +57,7 @@ export class BackupEncryption {
|
||||
encryption.set_recipient_key(pubKey);
|
||||
} catch(err) {
|
||||
decryption.free();
|
||||
encryption.free();
|
||||
throw err;
|
||||
}
|
||||
return new BackupEncryption(encryption, decryption);
|
||||
|
Loading…
Reference in New Issue
Block a user