X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/3dbef075272d266576d34718f1297373f77f07f8..bef232aebeabbef525faa7d7f5b08cf7a1427f95:/src/query.c diff --git a/src/query.c b/src/query.c index 966f409..6cfebb5 100644 --- a/src/query.c +++ b/src/query.c @@ -10,7 +10,7 @@ * * It is part of adns, which is * Copyright (C) 1997-2000 Ian Jackson - * Copyright (C) 1999 Tony Finch + * Copyright (C) 1999-2000 Tony Finch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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) {