From cd03fc000465a5e6c0226ea673a0ac04871b509d Mon Sep 17 00:00:00 2001 From: Lanzheng Liu Date: Thu, 18 Apr 2024 17:41:27 +0800 Subject: [PATCH] fix dns discard (#459) Signed-off-by: liulanzheng --- net/utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/net/utils.cpp b/net/utils.cpp index f90e49a0..ed514ed9 100644 --- a/net/utils.cpp +++ b/net/utils.cpp @@ -312,6 +312,7 @@ class DefaultResolver : public Resolver { break; } } + ipaddr.recycle(ipaddr->empty()); } }