From ea4e3e7682723510bbe9dd009112e198bc149d2f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 12 Nov 2010 19:07:35 +0100 Subject: [PATCH] parser: bugfix: initialize match when parsing new command --- src/cmdparse.y | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmdparse.y b/src/cmdparse.y index a4ed00bb..bcf144cd 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -71,6 +71,7 @@ char *parse_cmd(const char *new) { cmdyy_scan_string(new); + match_init(¤t_match); context = scalloc(sizeof(struct context)); context->filename = "cmd"; FREE(json_output); -- 2.39.5