diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-10 10:07:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-10 10:07:07 +0000 |
commit | 21bb852750d39a51d20e29652d29b0be5fdbef38 (patch) | |
tree | 5b38e412a90180dabacaaec4d17428171001de77 /lib/urldata.h | |
parent | 83bab78bdaeecc7fd5cae3c035d5239b0d38468f (diff) |
Pavel Orehov reported memory problems with the multi interface in bug report
#1098843. In short, a shared DNS cache was setup for a multi handle and when
the shared cache was deleted before the individual easy handles, the latter
cleanups caused read/writes to already freed memory.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 1fdaac994..3936b1526 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -971,6 +971,8 @@ struct UserDefined { struct SessionHandle { curl_hash *hostcache; + void *multi; /* if non-NULL, points to the multi handle + struct of which this "belongs" */ struct Curl_share *share; /* Share, handles global variable mutexing */ struct UserDefined set; /* values set by the libcurl user */ struct DynamicStatic change; /* possibly modified userdefined data */ |