flush WIP
[m6w6/ext-http] / php_http_options.c
index ec7bd13fcfa6aff2323d0750c73b39f2949bd5fe..7a01b9cc385586fe5d7570af136db402d12be796 100644 (file)
@@ -16,8 +16,10 @@ static void php_http_options_hash_dtor(zval *pData)
 {
        php_http_option_t *opt = Z_PTR_P(pData);
 
+       zval_ptr_dtor(&opt->defval);
        zend_hash_destroy(&opt->suboptions.options);
        zend_string_release(opt->name);
+       efree(opt);
 }
 
 php_http_options_t *php_http_options_init(php_http_options_t *registry, zend_bool persistent)