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

Teodor Sigaev <teodor@sigaev.ru>

Commit: 6cd9a58480e37e11adf7fa7d406ba118d2a7e4e5
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2006-12-04T09:26:57Z
Releases: 8.3.0
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