diff options
author | ian <ian> | 2000-06-27 23:16:48 +0000 |
---|---|---|
committer | ian <ian> | 2000-06-27 23:16:48 +0000 |
commit | d1cac7c0fe9b41dced22f3ddbfc17f26b0f457f7 (patch) | |
tree | 2bb5e809fbd81905ea54b9d6f1c45dcaf168c764 /src/query.c | |
parent | 66f7ac484ca092766a46a6d50c07cf59291ffc86 (diff) |
+ * Do not free something twice if query fails and is then cancelled.
@@ -10,6 +10,7 @@
+ * Do not free something twice if query fails and is then cancelled.
Diffstat (limited to 'src/query.c')
-rw-r--r-- | src/query.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/query.c b/src/query.c index 966f409..61ae7be 100644 --- a/src/query.c +++ b/src/query.c @@ -423,6 +423,7 @@ static void free_query_allocs(adns_query qu) { adns__vbuf_free(&qu->vb); adns__vbuf_free(&qu->search_vb); free(qu->query_dgram); + qu->query_dgram= 0; } void adns_cancel(adns_query qu) { |