]> granicus.if.org Git - php/commitdiff
fix leak
authorAntony Dovgal <tony2001@php.net>
Wed, 30 Aug 2006 16:12:27 +0000 (16:12 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 30 Aug 2006 16:12:27 +0000 (16:12 +0000)
ext/iconv/iconv.c

index 67698a13a4c067e37b89d52ad2c6c9946121a5f2..b7e5fa322091c6493072fc21bd9a7ad84ecbc9fa 100644 (file)
@@ -2281,7 +2281,7 @@ PHP_FUNCTION(ob_iconv_handler)
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zl", &zv_string, &status) == FAILURE)
                return;
 
-       convert_to_string_ex(&zv_string);
+       convert_to_string(zv_string);
 
        if (SG(sapi_headers).mimetype && 
                strncasecmp(SG(sapi_headers).mimetype, "text/", 5) == 0) {