Use zval_dtor instead of pval_destructor
[phpyaz-moved-to-github.git] / php_yaz.c
index 37127d8..469d254 100644 (file)
--- a/php_yaz.c
+++ b/php_yaz.c
@@ -1889,7 +1889,7 @@ PHP_FUNCTION(yaz_ccl_parse)
                WRONG_PARAM_COUNT;
        }
        
-       pval_destructor(pval_res);
+       zval_dtor(pval_res);
        array_init(pval_res);
        convert_to_string_ex(&pval_query);