1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 10:19:16 +02:00

fix memory leak in netpgp's signing

This commit is contained in:
B. Petersen 2017-11-26 16:54:29 +01:00
parent d2c65ad112
commit e8e30b3bfd

View file

@ -1312,6 +1312,7 @@ pgp_sign_buf(pgp_io_t *io,
/* tidy up */
pgp_writer_close(output);
pgp_output_delete(output); // EDIT BY MR: fix memory leak
pgp_create_sig_delete(sig);
}
return mem;