]> granicus.if.org Git - postgresql/commitdiff
Fix small memory leak
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 7 Dec 2005 13:30:15 +0000 (13:30 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 7 Dec 2005 13:30:15 +0000 (13:30 +0000)
contrib/tsearch2/wordparser/parser.c

index 37f020ef684444f54977717142a6a302090bbb22..f7bfcf0ed904a82fd1ed14121fe45981dc362dad 100644 (file)
@@ -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}
 };