Skip to content

Commit 219d13b

Browse files
committed
1 parent df20c27 commit 219d13b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

httplib.h

+2
Original file line numberDiff line numberDiff line change
@@ -4411,6 +4411,8 @@ inline void hosted_at(const char *hostname, std::vector<std::string> &addrs) {
44114411
addrs.push_back(ip);
44124412
}
44134413
}
4414+
4415+
freeaddrinfo(result);
44144416
}
44154417

44164418
inline std::string append_query_params(const char *path, const Params &params) {

0 commit comments

Comments
 (0)