]> granicus.if.org Git - curl/commit
fixed memory leak: CURLOPT_RESOLVE with multi interface
authorDaniel Stenberg <daniel@haxx.se>
Sun, 18 Nov 2012 15:17:37 +0000 (16:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 18 Nov 2012 15:39:31 +0000 (16:39 +0100)
commit409f2a041f752ef635354e1dc7b2759fcd7088d6
treeba6516576b5a6692398374cedddf16000fa1100d
parentdd75cba3ef1a9e6ddaae9d62080713101403af1c
fixed memory leak: CURLOPT_RESOLVE with multi interface

DNS cache entries populated with CURLOPT_RESOLVE were not properly freed
again when done using the multi interface.

Test case 1502 added to verify.

Bug: http://curl.haxx.se/bug/view.cgi?id=3575448
Reported by: Alex Gruz
lib/hostip.c
lib/hostip.h
lib/multi.c
tests/data/Makefile.am
tests/data/test1502 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1502.c [new file with mode: 0644]