fix missing free in key backup

This commit is contained in:
Bruno Windels 2023-02-10 17:36:14 +01:00
parent ab67a28c74
commit 2043541f56

View File

@ -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);