mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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);
|
encryption.set_recipient_key(pubKey);
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
decryption.free();
|
decryption.free();
|
||||||
|
encryption.free();
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
return new BackupEncryption(encryption, decryption);
|
return new BackupEncryption(encryption, decryption);
|
||||||
|
Loading…
Reference in New Issue
Block a user