diff options
Diffstat (limited to 'bin/systrace/parse.y')
-rw-r--r-- | bin/systrace/parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/systrace/parse.y b/bin/systrace/parse.y index fdf401122a8..f5eddac913f 100644 --- a/bin/systrace/parse.y +++ b/bin/systrace/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.15 2003/07/19 11:48:58 sturm Exp $ */ +/* $OpenBSD: parse.y,v 1.16 2006/03/18 19:03:23 robert Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> @@ -498,6 +498,7 @@ parse_newsymbol(char *type, int typeoff, char *data) } if (node->filterdata == NULL) { yyerror("strdup"); + free(node); return (NULL); } node->filterlen = strlen(node->filterdata) + 1; |