uclient-fetch: improve error handling
authorDaniel Golle <daniel@makrotopia.org>
Mon, 22 Apr 2024 23:45:01 +0000 (00:45 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 27 Jun 2024 00:11:12 +0000 (01:11 +0100)
commite035d57686645bc18ae6ded2ffb18d40b158e900
tree9a4ad7127c78a11ef53b1ff2f208e9057843d9e4
parente8780fa7792aaa2d68af21c0df91cd9c05e1f73a
uclient-fetch: improve error handling

Make error handling to the main() function more uniform.
Always free allocated memory.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
uclient-fetch.c