diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2018-05-30 02:56:22 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2018-05-30 02:56:22 -0700 |
commit | d3c9ed508dbf1f32f2e7ed5e5834d6159b9dcad0 (patch) | |
tree | 04d55d735b18f0ddbd6cdeb309e1fde0035ab1fb | |
parent | 4fc0e7ac0d9eabaa7d834d8e5e7d578f29ce96d7 (diff) | |
download | riscv-openocd-d3c9ed508dbf1f32f2e7ed5e5834d6159b9dcad0.zip riscv-openocd-d3c9ed508dbf1f32f2e7ed5e5834d6159b9dcad0.tar.gz riscv-openocd-d3c9ed508dbf1f32f2e7ed5e5834d6159b9dcad0.tar.bz2 |
iwhoops
-rw-r--r-- | src/server/gdb_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 39ed682..1c0f732 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -484,6 +484,7 @@ int gdb_put_packet(struct connection *connection, char *buffer, int len) memset(msg, '\0', len+1); strncpy(msg, buffer, len); LOG_DEBUG("msg: %s", msg); + free(msg); /* we sent some data, reset timer for keep alive messages */ kept_alive(); |