Re: [PATCH] debuginfod: Initialize response_data early in debuginfod-client query

2022-11-21 Thread Mark Wielaard
Hi, On Tue, 2022-11-15 at 17:55 +0100, Mark Wielaard wrote: > On error going to out2, the response_data is freed. So initialize the > response_data to NULL immediately after allocation or when going back > to query_in_parallel. Frank on irc said this looked fine. Pushed, Mark

[PATCH] debuginfod: Initialize response_data early in debuginfod-client query

2022-11-15 Thread Mark Wielaard
On error going to out2, the response_data is freed. So initialize the response_data to NULL immediately after allocation or when going back to query_in_parallel. Signed-off-by: Mark Wielaard --- debuginfod/ChangeLog | 5 + debuginfod/debuginfod-client.c | 4 ++-- 2 files changed, 7