From 11d4f3e999a950c3d9735d242fa73e968bab7f38 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 24 May 2019 20:31:14 +0200 Subject: signal-protocol: Fix incorrect free() fixes #562 --- plugins/signal-protocol/src/signal_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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: -- cgit v1.2.3-70-g09d2