From: Daniel Stenberg Date: Mon, 11 Sep 2006 11:25:47 +0000 (+0000) Subject: stupid mistake rectified by Jeff Pohlmeyer X-Git-Tag: curl-7_16_0~185 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c184cfc0d71a928b28ace2778bbe5064917f4da;p=thirdparty%2Fcurl.git stupid mistake rectified by Jeff Pohlmeyer --- diff --git a/lib/url.c b/lib/url.c index 3f479ed220..e9c4e5f9fa 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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 */