mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
use the correct free fn. spotted by dgoulet
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user