summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/dig/lib/isc/task.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/dig/lib/isc/task.c b/usr.bin/dig/lib/isc/task.c
index e9e9ae5c9e1..1f4dfeb2cf5 100644
--- a/usr.bin/dig/lib/isc/task.c
+++ b/usr.bin/dig/lib/isc/task.c
@@ -784,7 +784,6 @@ isc_result_t
isc_taskmgr_create(unsigned int workers,
unsigned int default_quantum, isc_taskmgr_t **managerp)
{
- isc_result_t result;
unsigned int i, started = 0;
isc_taskmgr_t *manager;
@@ -830,9 +829,6 @@ isc_taskmgr_create(unsigned int workers,
*managerp = (isc_taskmgr_t *)manager;
return (ISC_R_SUCCESS);
-
- free(manager);
- return (result);
}
void