resolv: fix memory leak
resolv: fix memory leak

Timothy Holdener writes:
small memory leak in __dns_lookup() when the A record
in the DNS answer is preceded by one or more CNAME records.

Signed-off-by: Bernhard Reutner-Fischer <ce1ac9e9ad16abccd7821f371ad381197b4768ac@gmail.com>

ffainelli/uClibc,czankel/xtensa-uclibc,ffainelli/uClibc,ndmsystems/uClibc,kraj/uclibc-ng,hjl-tools/uClibc,majek/uclibc-vx32,groundwater/uClibc,ffainelli/uClibc,waweber/uclibc-clang,wbx-github/uclibc-ng,kraj/uclibc-ng,mephi42/uClibc,skristiansson/uClibc-or1k,ndmsystems/uClibc,groundwater/uClibc,groundwater/uClibc,hwoarang/uClibc,foss-xtensa/uClibc,ffainelli/uClibc,brgl/uclibc-ng,kraj/uClibc,waweber/uclibc-clang,mephi42/uClibc,brgl/uclibc-ng,hjl-tools/uClibc,skristiansson/uClibc-or1k,atgreen/uClibc-moxie,foss-for-synopsys-dwc-arc-processors/uClibc,foss-xtensa/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,kraj/uClibc,mephi42/uClibc,majek/uclibc-vx32,foss-xtensa/uClibc,kraj/uClibc,wbx-github/uclibc-ng,hwoarang/uClibc,brgl/uclibc-ng,groundwater/uClibc,atgreen/uClibc-moxie,czankel/xtensa-uclibc,ddcc/klee-uclibc-0.9.33.2,atgreen/uClibc-moxie,brgl/uclibc-ng,kraj/uclibc-ng,ndmsystems/uClibc,waweber/uclibc-clang,hjl-tools/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,ddcc/klee-uclibc-0.9.33.2,waweber/uclibc-clang,czankel/xtensa-uclibc,foss-for-synopsys-dwc-arc-processors/uClibc,groundwater/uClibc,skristiansson/uClibc-or1k,kraj/uClibc,hwoarang/uClibc,skristiansson/uClibc-or1k,majek/uclibc-vx32,foss-xtensa/uClibc,wbx-github/uclibc-ng,ddcc/klee-uclibc-0.9.33.2,kraj/uclibc-ng,hwoarang/uClibc,czankel/xtensa-uclibc,atgreen/uClibc-moxie,wbx-github/uclibc-ng,hjl-tools/uClibc,mephi42/uClibc,ddcc/klee-uclibc-0.9.33.2,hjl-tools/uClibc,ndmsystems/uClibc,ffainelli/uClibc,majek/uclibc-vx32