diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |