multi_runsingle: avoid NULL dereference
authorDaniel Stenberg <daniel@haxx.se>
Sat, 9 Mar 2013 17:05:28 +0000 (18:05 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 9 Mar 2013 21:27:15 +0000 (22:27 +0100)
commit64b2d2d77e112f1519995b54cb0806e1f2e4a9f6
tree26d7e594da81b7664e5cb537d43f48e26f4893fc
parent88264355710392d0536a1e11a5426fa6507a50f8
multi_runsingle: avoid NULL dereference

When Curl_do() returns failure, the connection pointer could be NULL so
the code path following needs to that that into account.

Bug: http://curl.haxx.se/mail/lib-2013-03/0062.html
Reported by: Eric Hu
lib/multi.c