fix hlfinditem function. Thanks to "Stphane Bidoul" <stephane.bidoul@softwareag.com>.
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 22 Sep 2003 13:32:33 +0000 (13:32 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 22 Sep 2003 13:32:33 +0000 (13:32 +0000)
commite60617573ea5302a8822d558679c03cbad4b9193
treed9be3f9ac385c62896af1dbbe1577c1a34244a18
parentfe1c38ac93ac94122fa706f600a0fea116707512
fix hlfinditem function. Thanks to "Stphane Bidoul" <stephane.bidoul@softwareag.com>.

The 'word' variable there is initialised from
the prs->words array, but immediately after,
that array may be reallocated, thus leaving
word pointing to unallocated memory.
contrib/tsearch2/expected/tsearch2.out
contrib/tsearch2/ts_cfg.c