← Commit list

4728efe082

Viktor Szakats
Viktor Szakats
2026-02-02
SUCCESS Duration: 329s

Subject

ftp: replace a `curlx_free()` with `curlx_dyn_free()`

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/ftp.c+1 -1
@@ -2981,7 +2981,7 @@ static CURLcode ftp_pwd_resp(struct Curl_easy *data,
if(!ftpc->server_os && dir[0] != '/') {
result = Curl_pp_sendf(data, &ftpc->pp, "%s", "SYST");
if(result) {
- curlx_free(dir);
+ curlx_dyn_free(&out);
return result;
}
}