From 64c90c4fdc508a780a853bf40a2065297c1a1e7a Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sat, 2 Sep 2017 23:53:06 +0300 Subject: [PATCH] Fixed: Null pointer error --HG-- branch : develop --- code/nel/src/gui/group_html.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index b185c67c3..c9977589f 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -689,7 +689,7 @@ namespace NLGUI char *ch; std::string contentType; res = curl_easy_getinfo(_CurlWWW->Request, CURLINFO_CONTENT_TYPE, &ch); - if (res == CURLE_OK) + if (res == CURLE_OK && ch != NULL) { contentType = ch; }