10 Apr
2026
10 Apr
'26
10:12 p.m.
From: Pavel Hrdina <phrdina@redhat.com> Add missing g_autofree as the code looks like it was already written to use it. Fixes: 6f55137a1c465fde5aabca4530031542f751b4ad Signed-off-by: Pavel Hrdina <phrdina@redhat.com> --- src/ch/ch_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/ch_process.c b/src/ch/ch_process.c index 29db853a7f..a67274b4a5 100644 --- a/src/ch/ch_process.c +++ b/src/ch/ch_process.c @@ -548,7 +548,7 @@ static char * chSocketRecv(int sock, bool use_timeout) { struct pollfd pfds[1]; - char *buf = NULL; + g_autofree char *buf = NULL; size_t buf_len = 1024; int timeout = PKT_TIMEOUT_MS; int ret; -- 2.53.0