diff --git a/.gitignore b/.gitignore index 167faec1..0e55a478 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .DS_Store getdns*.tar.gz *.o +*.so .*.swp .deps/ .libs/ diff --git a/src/libgetdns.so b/src/libgetdns.so deleted file mode 100755 index 6cd91f31..00000000 Binary files a/src/libgetdns.so and /dev/null differ diff --git a/src/request-internal.c b/src/request-internal.c index 167e5721..555a549e 100644 --- a/src/request-internal.c +++ b/src/request-internal.c @@ -79,6 +79,9 @@ void dns_req_free(getdns_dns_req* req) { getdns_network_req *net_req = NULL; getdns_context_t context = req->context; + /* free extensions */ + getdns_dict_destroy(req->extensions); + /* free network requests */ net_req = req->first_req; while (net_req) {