artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8859bf7
)
Fix a leak from a recent added mark/marked keywords check.
author
andre
<andre@openbsd.org>
Mon, 12 May 2014 14:28:22 +0000
(14:28 +0000)
committer
andre
<andre@openbsd.org>
Mon, 12 May 2014 14:28:22 +0000
(14:28 +0000)
ok reyk
usr.sbin/relayd/parse.y
patch
|
blob
|
history
diff --git
a/usr.sbin/relayd/parse.y
b/usr.sbin/relayd/parse.y
index
27b3586
..
6fc09e5
100644
(file)
--- a/
usr.sbin/relayd/parse.y
+++ b/
usr.sbin/relayd/parse.y
@@
-1,4
+1,4
@@
-/* $OpenBSD: parse.y,v 1.18
1 2014/05/08 16:11:06 reyk Exp $
*/
+/* $OpenBSD: parse.y,v 1.18
2 2014/05/12 14:28:22 andre Exp $
*/
/*
* Copyright (c) 2007-2011 Reyk Floeter <reyk@openbsd.org>
@@
-1252,6
+1252,7
@@
protonode : nodetype APPEND STRING TO STRING nodeopts {
| nodetype MARK STRING WITH mark nodeopts {
if (node.mark) {
yyerror("either mark or marked");
+ free($3);
YYERROR;
}
node.action = NODE_ACTION_MARK;