summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/taskset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/taskset.c b/libhb/taskset.c
index dc7809995..e829fd79b 100644
--- a/libhb/taskset.c
+++ b/libhb/taskset.c
@@ -110,8 +110,7 @@ fail:
free( ts->task_begin_bitmap );
/* FALL THROUGH */
case 2:
- if( ts->task_threads_args == NULL )
- free( ts->task_threads_args );
+ free( ts->task_threads_args );
/* FALL THROUGH */
case 1:
free( ts->task_threads );