Skip to content

resolv: fix memory leak when using libresolv

osy requested to merge osy/libslirp:libresolv-leak-fix into master

QEMU only uses libresolv for iOS (where access to /etc/resolv.conf is restricted). There was a bug where res_nclose was called instead of res_ndestroy which leaked a few bytes of memory in state every time it was called.

Merge request reports

Loading