summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libkeynote/keynote.l8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libkeynote/keynote.l b/lib/libkeynote/keynote.l
index 19964c59aec..46e3291421f 100644
--- a/lib/libkeynote/keynote.l
+++ b/lib/libkeynote/keynote.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: keynote.l,v 1.17 2004/06/29 11:35:56 msf Exp $ */
+/* $OpenBSD: keynote.l,v 1.18 2009/12/11 17:25:43 deraadt Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -287,11 +287,9 @@ keynote_lex_add(void *s, int type)
}
if (p != keynote_lex_list)
- {
- free(keynote_lex_list);
- keynote_lex_list = p;
- }
+ free(keynote_lex_list);
+ keynote_lex_list = p;
keynote_lex_list[i].lex_s = s;
keynote_lex_list[i++].lex_type = type;
keynote_lex_counter++;