← Commit list

bbb226b226

Viktor Szakats
Viktor Szakats
2026-06-09
SUCCESS Duration: 231s

Subject

unit1675: fix potential memory leak on dynbuf fail path

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 →

tests/unit/unit1675.c+1 -0
@@ -111,6 +111,7 @@ static CURLcode test_unit1675(const char *arg)
int rc;
curlx_dyn_reset(&host);
if(curlx_dyn_add(&host, tests[i].in)) {
+ curlx_dyn_free(&host);
return CURLE_OUT_OF_MEMORY;
}
rc = ipv4_normalize(&host);