diff options
author | jhjung81 <48940114+jhjung81@users.noreply.github.com> | 2019-06-21 02:02:06 +0900 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2019-06-20 10:02:06 -0700 |
commit | 86cc07a75727d8d14784c2cedb175d1dbe41906d (patch) | |
tree | d3bae8a8d30fa5f3c5d0c9c745aeaab4aa4875ed | |
parent | bb03f79bde8eb3d3a2a5147876d42af7cebc247e (diff) | |
download | riscv-openocd-86cc07a75727d8d14784c2cedb175d1dbe41906d.zip riscv-openocd-86cc07a75727d8d14784c2cedb175d1dbe41906d.tar.gz riscv-openocd-86cc07a75727d8d14784c2cedb175d1dbe41906d.tar.bz2 |
fix memory leak (#382)
-rw-r--r-- | src/target/riscv/batch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/riscv/batch.c b/src/target/riscv/batch.c index 1ce4882..ff45b0c 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); } |