diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-01-30 03:51:04 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-01-30 03:51:04 +0100 |
commit | 233e89cf2317a1df410fe01ce20d66293517b500 (patch) | |
tree | 23a961282e117c17f06fd2e15862ff8666e3a4c3 /src/process.h | |
parent | 0677d94e2d55d473e9bbacde009bfd83df0bc67e (diff) | |
download | emacs-233e89cf2317a1df410fe01ce20d66293517b500.tar.gz |
Avoid memory leaks in async DNS
* process.c (check_for_dns): Free async DNS resources after
they've been used.
Diffstat (limited to 'src/process.h')
-rw-r--r-- | src/process.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.h b/src/process.h index 684434c1748..990bbd55e3a 100644 --- a/src/process.h +++ b/src/process.h @@ -178,7 +178,7 @@ struct Lisp_Process #ifdef HAVE_GETADDRINFO_A /* Whether the socket is waiting for response from an asynchronous DNS call. */ - struct gaicb* dns_request; + struct gaicb **dns_requests; #endif #ifdef HAVE_GNUTLS |