summaryrefslogtreecommitdiff
path: root/lib/libkeynote
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-02-18 13:36:14 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-02-18 13:36:14 +0000
commitba0d49952ec189260e1ba2238f76893fddc9e522 (patch)
tree0f5648b8968d1d085e98f0bced6dc61e438064ff /lib/libkeynote
parent863c84ce98e699747227b98c67151c40cf7a9bef (diff)
Scale-down cleanup table on allocation failure (Stanley@webspective.com)
Diffstat (limited to 'lib/libkeynote')
-rw-r--r--lib/libkeynote/keynote.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkeynote/keynote.l b/lib/libkeynote/keynote.l
index ed1bb1bc302..ca97a1ed513 100644
--- a/lib/libkeynote/keynote.l
+++ b/lib/libkeynote/keynote.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: keynote.l,v 1.7 2000/02/12 00:26:16 angelos Exp $ */
+/* $OpenBSD: keynote.l,v 1.8 2000/02/18 13:36:13 angelos Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -298,6 +298,7 @@ keynote_lex_add(void *s, int type)
break;
}
+ keynote_max_lex_list /= 2;
keynote_errno = ERROR_MEMORY;
return -1;
}