Fix two memory leaks found by Coverity (CIDs 417-418)
commit5c73da7faad1537f63c0f9923a25f3dda9df0de1
authorNick Mathewson <nickm@torproject.org>
Tue, 27 Oct 2009 02:12:40 +0000 (26 22:12 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 27 Oct 2009 02:12:40 +0000 (26 22:12 -0400)
treed0af44057e396e18f3f43b1a74a2667a798dd9bf
parent8bada1ef67cd7e84f3f22f7e4ef8eb99a8252776
Fix two memory leaks found by Coverity (CIDs 417-418)

The first happens on an error case when a controller wants an
impossible directory object.  The second happens when we can't write
our fingerprint file.
src/or/control.c
src/or/router.c