aboutsummaryrefslogtreecommitdiff
path: root/plugins/signal-protocol
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-05-24 20:31:14 +0200
committerfiaxh <git@lightrise.org>2019-05-26 20:20:09 +0200
commit11d4f3e999a950c3d9735d242fa73e968bab7f38 (patch)
tree7e8b2da71a0a9781e18122e9af0bc008c322a777 /plugins/signal-protocol
parente1e36fc98e460a8cadba9b81af7a14b47806758a (diff)
downloaddino-11d4f3e999a950c3d9735d242fa73e968bab7f38.tar.gz
dino-11d4f3e999a950c3d9735d242fa73e968bab7f38.zip
signal-protocol: Fix incorrect free()
fixes #562
Diffstat (limited to 'plugins/signal-protocol')
-rw-r--r--plugins/signal-protocol/src/signal_helper.c2
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: