Free extensions dict. Update gitignore

This commit is contained in:
Neel Goyal 2013-10-22 16:28:28 -04:00
parent 69cf72c1c4
commit e4f08150b1
3 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
.DS_Store
getdns*.tar.gz
*.o
*.so
.*.swp
.deps/
.libs/

Binary file not shown.

View File

@ -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) {