On Tue, Mar 26, 2024 at 10:13:06AM -0500, Pierre-Louis Bossart wrote: ... > memory leaks for each of those goto out; > > You need to use different labels and free-up what was allocated before. Good point, but better to just use cleanup.h from day 1, it makes this code shrink even more. ... > I'll stop the review here. He-he :-) -- With Best Regards, Andy Shevchenko