From 86cc07a75727d8d14784c2cedb175d1dbe41906d Mon Sep 17 00:00:00 2001 From: jhjung81 <48940114+jhjung81@users.noreply.github.com> Date: Fri, 21 Jun 2019 02:02:06 +0900 Subject: [PATCH] fix memory leak (#382) --- src/target/riscv/batch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/riscv/batch.c b/src/target/riscv/batch.c index 1ce48827b..ff45b0cc1 100644 --- a/src/target/riscv/batch.c +++ b/src/target/riscv/batch.c @@ -31,6 +31,7 @@ void riscv_batch_free(struct riscv_batch *batch) free(batch->data_in); free(batch->data_out); free(batch->fields); + free(batch->read_keys); free(batch); }