inet: res_nclose: free user-buffer, not global _res
commit950fcf0f68732a9aafacb5dfd33e7a7612141722
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 23 Feb 2013 08:46:21 +0000 (23 09:46 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 14 Mar 2013 21:49:25 +0000 (14 22:49 +0100)
tree57ce773b0f01bf3dfa53b9a77575dc186855e062
parentf4abc54226d690fd6fdc5f077e63c396831c61b2
inet: res_nclose: free user-buffer, not global _res

In res_iclose we were operating on the global _res even if called via
res_nclose where we are supposed to operate on the user provided
res_state.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/inet/resolv.c