tool_operatate: return error for OOM in append2query

Closes #19763
This commit is contained in:
Daniel Stenberg 2025-11-29 23:44:23 +01:00
parent c3add7130d
commit 0eed8b7330
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -848,6 +848,8 @@ static CURLcode append2query(struct OperationConfig *config,
}
curl_url_cleanup(uh);
}
else
result = CURLE_OUT_OF_MEMORY;
return result;
}