signal-protocol: Fix incorrect free()

fixes #562
This commit is contained in:
fiaxh 2019-05-24 20:31:14 +02:00
parent e1e36fc98e
commit 11d4f3e999

View file

@ -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: