aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 56b3faf2f..d8121250c 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -761,10 +761,8 @@ CURLMcode curl_multi_remove_handle(struct Curl_multi *multi,
vanish with this handle */
/* Remove the association between the connection and the handle */
- if(data->easy_conn) {
- data->easy_conn->data = NULL;
+ if(data->easy_conn)
data->easy_conn = NULL;
- }
#ifdef USE_LIBPSL
/* Remove the PSL association. */