commit 5a95d4b0b4b549439308302575967da86108067b21d473c3714874ce1225f870 from: Stefan Sperling date: Mon Jan 26 14:01:03 2026 UTC plug a memory leak on error in gotsys-write-conf commit - baf09af80653e8b6d3db395672ad828be4168d96b404b02e6894622d8e89762d commit + 5a95d4b0b4b549439308302575967da86108067b21d473c3714874ce1225f870 blob - 96b5ad25879f2c15bc54aba045aa2a608b830b919624dcfa905c77212681ff07 blob + 08b0b6cdcd8b826033fd21783a6a766d3cd5b07e9ac75b45e6757402b7963af2 --- gotsysd/libexec/gotsys-write-conf/gotsys-write-conf.c +++ gotsysd/libexec/gotsys-write-conf/gotsys-write-conf.c @@ -2074,6 +2074,7 @@ dispatch_event(int fd, short event, void *arg) "web repository refers to nonexistent " "repository %s while in state %d\n", webrepo->repo_name, writeconf_state); + free(webrepo); break; } STAILQ_INSERT_TAIL(&srv->repos, webrepo, entry);