udm_free_ispell_data
(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch:1.0.0)
udm_free_ispell_data — Free memory allocated for ispell data
Описание
bool udm_free_ispell_data
( int $agent
)
Frees the memory allocated for ispell data.
Возвращаемые значения
udm_free_ispell_data() always returns TRUE.
Примечания
Замечание: This function is supported beginning from version 3.1.12 of mnoGoSearch and it does not do anything in previous versions.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с поисковыми системами
- mnoGoSearch
- udm_add_search_limit
- udm_alloc_agent_array
- udm_alloc_agent
- udm_api_version
- udm_cat_list
- udm_cat_path
- udm_check_charset
- udm_clear_search_limits
- udm_crc32
- udm_errno
- udm_error
- udm_find
- udm_free_agent
- udm_free_ispell_data
- udm_free_res
- udm_get_doc_count
- udm_get_res_field
- udm_get_res_param
- udm_hash32
- udm_load_ispell_data
- udm_set_agent_param
Коментарии
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