fixup! netutils/webclient: duplicates memory allocation
authorJin-Seong Kim <jseong82.kim@samsung.com>
Tue, 23 May 2017 09:52:09 +0000 (18:52 +0900)
committerEunBong Song <eunb.song@samsung.com>
Tue, 11 Jul 2017 01:26:56 +0000 (10:26 +0900)
Change-Id: I42465d1adcfc5bf3b15d8a917050668f0b172161
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
apps/netutils/webclient/webclient.c

index aed5959..f041c35 100644 (file)
@@ -1081,7 +1081,7 @@ retry:
                param->response->entity_len = strlen(param->response->entity);
        }
 
-       if (param->callback && param->response) {
+       if (param->callback) {
                param->callback(param->response);
                http_client_response_release(param->response);
        }