Use zval_dtor instead of pval_destructor
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 13 Aug 2012 08:58:40 +0000 (10:58 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 13 Aug 2012 08:58:40 +0000 (10:58 +0200)
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);