]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Call release_lockfile() before exiting.
authorNick Mathewson <nickm@torproject.org>
Thu, 18 Dec 2008 15:00:13 +0000 (15:00 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 18 Dec 2008 15:00:13 +0000 (15:00 +0000)
svn:r17679

src/or/main.c

index 13404cd067f4f300570b53d2f92f341e7349a330..3427cfd2926d20420df31e8a8ec247597370a6f2 100644 (file)
@@ -1963,6 +1963,9 @@ tor_free_all(int postfork)
   if (active_linked_connection_lst)
     smartlist_free(active_linked_connection_lst);
   tor_free(timeout_event);
+  if (!postfork) {
+    release_lockfile();
+  }
   /* Stuff in util.c and address.c*/
   if (!postfork) {
     escaped(NULL);