diff options
author | Evan Huus <eapache@gmail.com> | 2012-12-18 03:31:25 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-12-18 03:31:25 +0000 |
commit | fc1d83d9240eb8bf0237e734485e21502673d81d (patch) | |
tree | 22358e8f1ccef4d45aaa6300c193b435b395085a /epan/addr_resolv.c | |
parent | 7577443c0fc1e0589cd687ec24ceb83ce115e5e3 (diff) |
Fix a double-free by setting the GSList back to NULL when we free it.
Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8101
svn path=/trunk/; revision=46583
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r-- | epan/addr_resolv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c index 4d36231c08..2f9466cfc6 100644 --- a/epan/addr_resolv.c +++ b/epan/addr_resolv.c @@ -2620,6 +2620,7 @@ _host_name_lookup_cleanup(void) { } g_list_free(async_dns_queue_head); + async_dns_queue_head = NULL; if (async_dns_initialized) { ares_destroy(ghba_chan); |