summaryrefslogtreecommitdiff
path: root/src/input/input_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r--src/input/input_http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 328ab523e..5975bb64b 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -1076,8 +1076,7 @@ static const char *http_class_get_identifier (input_class_t *this_gen) {
static void http_class_dispose (input_class_t *this_gen) {
http_input_class_t *this = (http_input_class_t *) this_gen;
- if(this->proxyhost_env)
- free(this->proxyhost_env);
+ free(this->proxyhost_env);
free (this);
}