From: Sebastian Harl Date: Sun, 12 Jan 2014 20:45:32 +0000 (+0100) Subject: frontend: Free parser-allocated memory after handling a command. X-Git-Tag: sysdb-0.1.0~226^2~3 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=dd7ed3afe782c891a8a1c11e2dbeaf2af3dd910e frontend: Free parser-allocated memory after handling a command. --- 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: