[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] use the correct free fn. spotted by dgoulet



commit 38b3f9a619a7e34cb0fe778235afb91953c84fe7
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Jan 21 14:54:38 2015 -0500

    use the correct free fn. spotted by dgoulet
---
 src/common/workqueue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/workqueue.c b/src/common/workqueue.c
index 77a4fbc..5da29d5 100644
--- a/src/common/workqueue.c
+++ b/src/common/workqueue.c
@@ -148,7 +148,7 @@ workqueue_entry_cancel(workqueue_entry_t *ent)
   tor_mutex_release(&ent->on_pool->lock);
 
   if (cancelled) {
-    tor_free(ent);
+    workqueue_entry_free(ent);
   }
   return result;
 }

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits