Commit 752f4eaf authored by Pekka Pessi's avatar Pekka Pessi

sresolv/sresolv.c: fixed problems destroying resolver.

darcs-hash:20060516145709-65a35-c360fb96a5e0a50941906b7d443bf4328d6ffd75.gz
parent 78e4802f
......@@ -156,9 +156,8 @@ sres_resolver_destroy(sres_resolver_t *res)
return su_seterrno(EINVAL);
sres_sofia_update(srs, -1, -1); /* Remove sockets from too, zap timers. */
srs->srs_root = NULL;
sres_resolver_unref(srs->srs_resolver);
sres_resolver_unref(res);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment