diff options
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c index 15b73e2c7..d249843b8 100644 --- a/src/worker.c +++ b/src/worker.c @@ -277,8 +277,16 @@ free_task (struct worker_task *task, gboolean is_soft) } } -static void -free_task_hard (void *ud) +void +free_task_hard (gpointer ud) +{ + struct worker_task *task = ud; + + free_task (task, FALSE); +} + +void +free_task_soft (gpointer ud) { struct worker_task *task = ud; |