mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +02:00
fix memory leak in netpgp's signing
This commit is contained in:
parent
d2c65ad112
commit
e8e30b3bfd
1 changed files with 1 additions and 0 deletions
|
@ -1312,6 +1312,7 @@ pgp_sign_buf(pgp_io_t *io,
|
||||||
|
|
||||||
/* tidy up */
|
/* tidy up */
|
||||||
pgp_writer_close(output);
|
pgp_writer_close(output);
|
||||||
|
pgp_output_delete(output); // EDIT BY MR: fix memory leak
|
||||||
pgp_create_sig_delete(sig);
|
pgp_create_sig_delete(sig);
|
||||||
}
|
}
|
||||||
return mem;
|
return mem;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue