@@ -40,7 +40,7 @@ static void *php_uri_parser_rfc3986_memory_manager_reallocarray(UriMemoryManager
4040 return safe_erealloc (ptr , nmemb , size , 0 );
4141}
4242
43- static void php_uri_parser_rfc3986_memory_manager_free (UriMemoryManager * memory_manager , void * ptr )
43+ static void php_uri_parser_rfc3986_memory_manager_destroy (UriMemoryManager * memory_manager , void * ptr )
4444{
4545 efree (ptr );
4646}
@@ -50,7 +50,7 @@ static const UriMemoryManager php_uri_parser_rfc3986_memory_manager = {
5050 .calloc = php_uri_parser_rfc3986_memory_manager_calloc ,
5151 .realloc = php_uri_parser_rfc3986_memory_manager_realloc ,
5252 .reallocarray = php_uri_parser_rfc3986_memory_manager_reallocarray ,
53- .free = php_uri_parser_rfc3986_memory_manager_free ,
53+ .free = php_uri_parser_rfc3986_memory_manager_destroy ,
5454 .userData = NULL ,
5555};
5656
@@ -593,7 +593,7 @@ ZEND_ATTRIBUTE_NONNULL static zend_string *php_uri_parser_rfc3986_to_string(void
593593 return uri_string ;
594594}
595595
596- static void php_uri_parser_rfc3986_free (void * uri )
596+ static void php_uri_parser_rfc3986_destroy (void * uri )
597597{
598598 php_uri_parser_rfc3986_uris * uriparser_uris = uri ;
599599
@@ -612,7 +612,7 @@ const php_uri_parser php_uri_parser_rfc3986 = {
612612 .parse = php_uri_parser_rfc3986_parse ,
613613 .clone = php_uri_parser_rfc3986_clone ,
614614 .to_string = php_uri_parser_rfc3986_to_string ,
615- .free = php_uri_parser_rfc3986_free ,
615+ .destroy = php_uri_parser_rfc3986_destroy ,
616616 {
617617 .scheme = {.read = php_uri_parser_rfc3986_scheme_read , .write = php_uri_parser_rfc3986_scheme_write },
618618 .username = {.read = php_uri_parser_rfc3986_username_read , .write = NULL },
0 commit comments