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

21 Jan
2015
21 Jan
'15
7:54 p.m.
commit 38b3f9a619a7e34cb0fe778235afb91953c84fe7 Author: Nick Mathewson <nickm@torproject.org> 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; }
3775
Age (days ago)
3775
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org