diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-21 14:54:38 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-21 14:54:38 -0500 |
commit | 38b3f9a619a7e34cb0fe778235afb91953c84fe7 (patch) | |
tree | 889784ce92d3489828c6cb0ee176add618bd2eb1 /src | |
parent | 23fc1691b6dff4b0a3ad173809915901eb47fcab (diff) | |
download | tor-38b3f9a619a7e34cb0fe778235afb91953c84fe7.tar.gz tor-38b3f9a619a7e34cb0fe778235afb91953c84fe7.zip |
use the correct free fn. spotted by dgoulet
Diffstat (limited to 'src')
-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; } |