diff options
author | fiaxh <git@lightrise.org> | 2019-05-24 20:31:14 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-05-26 20:20:09 +0200 |
commit | 11d4f3e999a950c3d9735d242fa73e968bab7f38 (patch) | |
tree | 7e8b2da71a0a9781e18122e9af0bc008c322a777 /plugins/signal-protocol/src/signal_helper.c | |
parent | e1e36fc98e460a8cadba9b81af7a14b47806758a (diff) | |
download | dino-11d4f3e999a950c3d9735d242fa73e968bab7f38.tar.gz dino-11d4f3e999a950c3d9735d242fa73e968bab7f38.zip |
signal-protocol: Fix incorrect free()
fixes #562
Diffstat (limited to 'plugins/signal-protocol/src/signal_helper.c')
-rw-r--r-- | plugins/signal-protocol/src/signal_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/signal-protocol/src/signal_helper.c b/plugins/signal-protocol/src/signal_helper.c index 9f313475..2d765420 100644 --- a/plugins/signal-protocol/src/signal_helper.c +++ b/plugins/signal-protocol/src/signal_helper.c @@ -316,7 +316,7 @@ int signal_vala_decrypt(signal_buffer **output, error: gcry_cipher_close(ctx); if (out_buf != 0) { - signal_buffer_bzero_free(output); + signal_buffer_bzero_free(out_buf); } return SG_ERR_UNKNOWN; no_error: |