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

index 40573f47f54f8000f3c150eca4eed1f35319b761..a5cc9b31b01128c89cb57f5914e0843bdfc34fea 100644 (file)
@@ -2278,7 +2278,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) {