From dd7ed3afe782c891a8a1c11e2dbeaf2af3dd910e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 12 Jan 2014 21:45:32 +0100 Subject: [PATCH] frontend: Free parser-allocated memory after handling a command. --- src/frontend/connection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/connection.c b/src/frontend/connection.c index 72041ff..5ed49dd 100644 --- a/src/frontend/connection.c +++ b/src/frontend/connection.c @@ -217,6 +217,8 @@ command_handle(sdb_conn_t *conn) if (node) status = sdb_fe_exec(conn, node); + + sdb_llist_destroy(parsetree); } case CONNECTION_LIST: -- 2.30.2