mirror of https://github.com/getdnsapi/getdns.git
Free extensions dict. Update gitignore
This commit is contained in:
parent
69cf72c1c4
commit
e4f08150b1
|
@ -2,6 +2,7 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
getdns*.tar.gz
|
getdns*.tar.gz
|
||||||
*.o
|
*.o
|
||||||
|
*.so
|
||||||
.*.swp
|
.*.swp
|
||||||
.deps/
|
.deps/
|
||||||
.libs/
|
.libs/
|
||||||
|
|
BIN
src/libgetdns.so
BIN
src/libgetdns.so
Binary file not shown.
|
@ -79,6 +79,9 @@ void dns_req_free(getdns_dns_req* req) {
|
||||||
getdns_network_req *net_req = NULL;
|
getdns_network_req *net_req = NULL;
|
||||||
getdns_context_t context = req->context;
|
getdns_context_t context = req->context;
|
||||||
|
|
||||||
|
/* free extensions */
|
||||||
|
getdns_dict_destroy(req->extensions);
|
||||||
|
|
||||||
/* free network requests */
|
/* free network requests */
|
||||||
net_req = req->first_req;
|
net_req = req->first_req;
|
||||||
while (net_req) {
|
while (net_req) {
|
||||||
|
|
Loading…
Reference in New Issue