Isn't that function leaking "res" pointer?  Also, I'm curious why you're
fixed

allocating 2*sizeof(TSLexeme) in unaccent_lexize ...
That's is a dictionary's interface part: lexize returns an array of TSLexeme and last structure should have lexeme field NULL.


filter_dictionary file is not changed, it's attached only for consistency.
--
Teodor Sigaev                                   E-mail: teo...@sigaev.ru
                                                   WWW: http://www.sigaev.ru/

Attachment: unaccent-0.6.gz
Description: Unix tar archive

Attachment: filter_dictionary-0.1.gz
Description: Unix tar archive

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to