From 38b3f9a619a7e34cb0fe778235afb91953c84fe7 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 21 Jan 2015 14:54:38 -0500 Subject: use the correct free fn. spotted by dgoulet --- src/common/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/workqueue.c b/src/common/workqueue.c index 77a4fbc3f6..5da29d5ab9 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; } -- cgit v1.2.3-54-g00ecf