From 30343eaafef0ed057dca9a7d50eb8af869373d70 Mon Sep 17 00:00:00 2001 From: Martin Uecker Date: Sun, 29 Sep 2024 13:31:35 +0200 Subject: [PATCH] use xmalloc --- src/misc/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/stream.c b/src/misc/stream.c index 87ee769e9..61fbb7047 100644 --- a/src/misc/stream.c +++ b/src/misc/stream.c @@ -722,7 +722,7 @@ static bool stream_receive_idx_locked(stream_t s) if (msg.data.extsize == 0) break; - void* mem = malloc((size_t)msg.data.extsize); + void* mem = xmalloc((size_t)msg.data.extsize); xread(s->pipefd, msg.data.extsize, mem);