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
PHP - Manual: udm_free_ispell_data
2024-12-21
(PHP 4 >= 4.0.5, PHP 5 < 5.1.0, PECL mnogosearch >= 1.0.0)
udm_free_ispell_data — Free memory allocated for ispell data
$agent
) : boolFrees the memory allocated for ispell data.
udm_free_ispell_data() always returns TRUE
.
Note:
This function is supported beginning from version 3.1.12 of mnoGoSearch and it does not do anything in previous versions.
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
官方地址:https://www.php.net/manual/en/function.udm-free-ispell-data.php