From 7d693c6983f81ccc3f337a6ddd0f7c73263e3cac Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Wed, 30 May 2018 04:23:47 -0700 Subject: Revert "iwhoops" This reverts commit d3c9ed508dbf1f32f2e7ed5e5834d6159b9dcad0. --- src/server/gdb_server.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 1c0f732..39ed682 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -484,7 +484,6 @@ 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(); -- cgit v1.1