From e5b34678c42992d01ddd863e57ad5690327e1bc4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 30 Jan 2016 05:31:21 +0100 Subject: [PATCH] More async memory leaks * src/process.c (check_for_dns): Free even more allocated async stuff. --- src/process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/process.c b/src/process.c index 7cf701cef2f..f9a822fcd0f 100644 --- a/src/process.c +++ b/src/process.c @@ -4574,6 +4574,8 @@ check_for_dns (Lisp_Object proc) pset_status (p, Qfailed); xfree ((void *)p->dns_requests[0]->ar_request); + xfree ((void *)p->dns_requests[0]->ar_name); + xfree ((void *)p->dns_requests[0]->ar_service); xfree (p->dns_requests[0]); xfree (p->dns_requests); return 1; -- 2.39.5