Browse Source

fixed pgp_validate_mem_detached memory leak

master
Edouard Tisserant 7 years ago
parent
commit
80084e826f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      dist/src/lib/crypto.c

+ 1
- 0
dist/src/lib/crypto.c View File

@ -714,6 +714,7 @@ pgp_decrypt_and_validate_buf(pgp_io_t *io,
/* tidy up */
pgp_teardown_memory_read(stream, inmem);
pgp_memory_free(validation.mem);
pgp_writer_close(stream->cbinfo.output);
pgp_output_delete(stream->cbinfo.output);


Loading…
Cancel
Save