summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2005-12-07 13:30:15 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2005-12-07 13:30:15 +0000
commit9551ab2fe931454f2ca117c03c152f91378b78bc (patch)
tree72a2ee14301fb0dc3d09cdc231d696e04152d5f2
parent4f94b49a318c1130e1c9fe82eca2ad4a894604f0 (diff)
Fix small memory leak
-rw-r--r--contrib/tsearch2/wordparser/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/wordparser/parser.c b/contrib/tsearch2/wordparser/parser.c
index 37f020ef684..f7bfcf0ed90 100644
--- a/contrib/tsearch2/wordparser/parser.c
+++ b/contrib/tsearch2/wordparser/parser.c
@@ -453,7 +453,7 @@ static TParserStateActionItem actionTPS_InVerVersion[] = {
static TParserStateActionItem actionTPS_InSVerVersion[] = {
{p_isEOF, 0, A_POP, TPS_Null, 0, NULL},
- {p_isdigit, 0, A_BINGO, TPS_InUnsignedInt, SPACE, NULL},
+ {p_isdigit, 0, A_BINGO|A_CLRALL, TPS_InUnsignedInt, SPACE, NULL},
{NULL, 0, A_NEXT, TPS_Null, 0, NULL}
};