mirror of
https://github.com/curl/curl.git
synced 2026-07-24 22:27:17 +03:00
src/tool_operhlp.c: fix value stored to 'uerr' is never read
Ref: https://github.com/curl/curl/pull/10974#issuecomment-1510461343 Reported-by: Viktor Szakats Closes #10982
This commit is contained in:
parent
9c543de0ec
commit
8ff820388f
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ CURLcode add_file_name_to_url(CURL *curl, char **inurlp, const char *filename)
|
|||
goto fail;
|
||||
}
|
||||
uerr = curl_url_get(uh, CURLUPART_QUERY, &query, 0);
|
||||
if(query) {
|
||||
if(!uerr && query) {
|
||||
curl_free(query);
|
||||
curl_free(path);
|
||||
curl_url_cleanup(uh);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue