Skip to content
Snippets Groups Projects
Commit 5c184cfc authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

stupid mistake rectified by Jeff Pohlmeyer

parent 055022a5
No related branches found
No related tags found
No related merge requests found
......@@ -1688,9 +1688,10 @@ static void conn_free(struct connectdata *conn)
CURLcode Curl_disconnect(struct connectdata *conn)
{
struct SessionHandle *data = conn->data;
struct SessionHandle *data;
if(!conn)
return CURLE_OK; /* this is closed and fine already */
data = conn->data;
#if defined(CURLDEBUG) && defined(AGGRESIVE_TEST)
/* scan for DNS cache entries still marked as in use */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment