summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2019-09-10 12:22:25 -0400
committerBradley Sepos <[email protected]>2019-09-10 12:22:25 -0400
commit5a176f2bae72f9087078b463795b5abb07f65976 (patch)
treeb7c56ba1b26941a0d38f0c3b56ee75fec61acc7d /libhb
parent294bb35fc36b6cb948eaec55c2cfb8b1528d93a7 (diff)
libhb: Remove useless conditional in taskset.c.
Closes #1754.
Diffstat (limited to 'libhb')
-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 );