mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:53:31 +03:00
remove unnecessary typecasting of malloc()
This commit is contained in:
parent
a622fd90b4
commit
59e378f48f
31 changed files with 68 additions and 72 deletions
|
|
@ -2136,7 +2136,7 @@ static char *concat_url(const char *base, const char *relurl)
|
|||
|
||||
urllen = strlen(url_clone);
|
||||
|
||||
newest=(char *)malloc( urllen + 1 + /* possible slash */
|
||||
newest = malloc( urllen + 1 + /* possible slash */
|
||||
newlen + 1 /* zero byte */);
|
||||
|
||||
if(!newest) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue