To: | namazu-users-en@namazu.org |
---|---|
Subject: | Re: Access Violation on nmz_get_field_data |
From: | knok@daionet.gr.jp (NOKUBI Takatsugu) |
Date: | Wed, 6 Mar 2002 16:29:06 JST |
Reply-to: | namazu-users-en@namazu.org |
Message-id: | <200203060729.QAA03160@ns1.eal.or.jp> |
In article <3C853431.7080100@rovia.com> carlos@rovia.com writes:
nmz_add_index("C:\\namazu\\index"); NmzResult result = nmz_search("Some query"); for (int i = 0; i < result.num; i++) { nmz_data current_hit = result.data[i]; char title[512] = ""; nmz_get_field_data(current_hit.idxid, current_hit.docid, "title", title); }
I think you need to call nmz_free_hlist(nmz_data_current_hit) on each iteration, and need to call nmz_free_internal() before second try. I don't know it causes such probrem or not, but it would be better. -- NOKUBI Takatsugu E-mail: knok@daionet.gr.jp knok@namazu.org / knok@debian.org
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Access Violation on nmz_get_field_data, Carlos J. Soltero-Pales |
---|---|
Next by Date: | Re: Access Violation on nmz_get_field_data, Carlos J. Soltero-Pales |
Previous by Thread: | Access Violation on nmz_get_field_data, Carlos J. Soltero-Pales |
Next by Thread: | Re: Access Violation on nmz_get_field_data, Carlos J. Soltero-Pales |
Indexes: | [Date] [Thread] [Top] [All Lists] |