Fix core dump of ispell for case of non-successfull initialization.

Teodor Sigaev <teodor@sigaev.ru>

Commit: e72ef41d72d7555a574ff2197498f66b588bd24f
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2006-12-04T09:27:45Z
Releases: 8.2.1
Fix core dump of ispell for case of non-successfull initialization.
Previous versions aren't affected.

Fix synonym dictionary init: string should be malloc'ed, not palloc'ed. Bug
introduced recently while fixing lowerstr().

Files

PathChange+/−
contrib/tsearch2/dict_syn.c modified +3 −3
contrib/tsearch2/ispell/spell.c modified +1 −1