mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
Fix crash bug in urlencode().
This commit is contained in:
parent
0c164128f8
commit
615cf785c1
@ -300,7 +300,6 @@ PHP_FUNCTION(urlencode)
|
||||
}
|
||||
str = php_url_encode((*arg)->value.str.val, (*arg)->value.str.len, &str_len);
|
||||
RETVAL_STRINGL(str, str_len, 0);
|
||||
efree(str);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user