From 3fa7931d53c9f90fe561eb51d966a878a23b12b8 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 28 Apr 2012 19:08:24 +0100 Subject: [PATCH] Revert "Free command memory" This reverts commit 07fdb4afef3af00fa47aad74140b3622efa32460. --- command.c | 1 - 1 file changed, 1 deletion(-) diff --git a/command.c b/command.c index 64d2d7e5..5ecb015e 100644 --- a/command.c +++ b/command.c @@ -65,7 +65,6 @@ gboolean process_input(char *inp) } else if (inp[0] == '/') { struct command_t cmd = _parse_command(inp); result = _handle_command(cmd.command, inp); - free(cmd.command); } else { result = _cmd_default(inp); }