uclient-http: Handle memory allocation failure
authorTobias Schramm <tobleminer@gmail.com>
Sun, 18 Feb 2018 12:46:08 +0000 (13:46 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 20 Feb 2018 07:25:14 +0000 (08:25 +0100)
commit66fb58dff445514a53febab5a81a8a16d5ba9d56
treeb4e875fe202317ae471b9749003a9dc258a670c6
parenta73b23b4763fc51282540e33c31083413ffbb6e1
uclient-http: Handle memory allocation failure

Add null pointer check to allocation of uclient_http struct

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
uclient-http.c