From: Nick Mathewson Date: Wed, 21 Jan 2015 19:54:38 +0000 (-0500) Subject: use the correct free fn. spotted by dgoulet X-Git-Tag: tor-0.2.6.3-alpha~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38b3f9a619a7e34cb0fe778235afb91953c84fe7;p=thirdparty%2Ftor.git use the correct free fn. spotted by dgoulet --- 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; }