Fix segfault during failed allocatino of locked evdns base.
authorNick Mathewson <nickm@torproject.org>
Tue, 28 Jul 2009 17:11:03 +0000 (17:11 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 28 Jul 2009 17:11:03 +0000 (17:11 +0000)
commit12199fa7a51ee93479fa0db30c2f7b9c8159bb94
tree05104d0bca2f53feed8ae51191c5b594bca597d0
parentf8b527e6a1b3a1cc2b90397b827bf219d0ba3aa6
Fix segfault during failed allocatino of locked evdns base.

We need to comb the rest of the code to make sure that we don't blindly wrap
functions in LOCK(x), UNLOCK(x) when those functions might contain a FREE(x)
in the middle.

Rocco Carbone found and reported this bug.

svn:r1384
ChangeLog
evdns.c