summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r--src/parser_bison.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index 87d898b8..45f134a8 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -1456,8 +1456,10 @@ type_identifier_list : type_identifier
if (dtype == NULL) {
erec_queue(error(&@1, "unknown datatype %s", $1),
state->msgs);
+ xfree($1);
YYERROR;
}
+ xfree($1);
$$ = dtype->type;
}
| type_identifier_list DOT type_identifier