uclient-http: fix freeing of stack allocated memory
authorPetr Štetiar <ynezz@true.cz>
Tue, 8 Dec 2020 16:34:50 +0000 (17:34 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 11 Dec 2020 10:17:22 +0000 (11:17 +0100)
commit436f9b3af2adde11526b4f281951aed6c5d48e6e
treeb1b46ca34650412535171c7a863f0177708d7385
parente6b5b8a98ce21d4b8374370b5d7592ead4b351e5
uclient-http: fix freeing of stack allocated memory

Fixes following issue reported by clang-12 static analyzer:

 uclient-http.c:568:2: warning: Memory allocated by alloca() should not be deallocated [unix.Malloc]
         free(buf_orig);
         ^~~~~~~~~~~~~~

Signed-off-by: Petr Štetiar <ynezz@true.cz>
uclient-http.c