udm_free_ispell_data

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.4)

udm_free_ispell_data -- Free memory allocated for ispell data

Description

bool udm_free_ispell_data ( int agent )

udm_free_ispell_data() always returns TRUE.

agent - agent link identifier, received after call to udm_alloc_agent().

注: This function is supported beginning from version 3.1.12 of mnoGoSearch and it does not do anything in previous versions.


add a note add a note User Contributed Notes
indeyets at gmail dot com
27-Jul-2005 03:40
in mnogosearch 3.2.33 (and earlier 3.2.x versions) this function should not be used, as udm_free_agent() implicitly frees this memory too.

as a result, you will have "double free" and crash of php/apache instance