downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

udm_free_res> <udm_free_agent
[edit] Last updated: Fri, 26 Apr 2013

view this page in

udm_free_ispell_data

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0)

udm_free_ispell_dataFree memory allocated for ispell data

Description

bool udm_free_ispell_data ( int $agent )

Frees the memory allocated for ispell data.

Parameters

agent

A link to Agent, received after call to udm_alloc_agent().

Return Values

udm_free_ispell_data() always returns TRUE.

Notes

Note:

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 udm_free_ispell_data - [1 notes]
up
0
indeyets at gmail dot com
7 years ago
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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites