diff options
author | Maninder Singh <maninder1.s@samsung.com> | 2015-06-10 07:04:55 +0000 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2015-06-10 15:58:20 +0200 |
commit | d1e29aa24e6b911769f54ac56029ccf5f50ec2ef (patch) | |
tree | 9a20ba2dfeaff3b4b6917923bc26d9597949a2e5 /utils | |
parent | 5e65f4334e33a35f3d2ccb448e04449e5b0afd54 (diff) |
utils/ffsb_fc.c: remove explicit NULL check before free
No need of NULL check before free
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ffsb-6.0-rc2/ffsb_fc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/ffsb-6.0-rc2/ffsb_fc.c b/utils/ffsb-6.0-rc2/ffsb_fc.c index 60b6313bb..c383a6ad9 100644 --- a/utils/ffsb-6.0-rc2/ffsb_fc.c +++ b/utils/ffsb-6.0-rc2/ffsb_fc.c @@ -99,8 +99,7 @@ void fc_set_num_totalthreads(ffsb_config_t * fc, int num) void fc_set_callout(ffsb_config_t * fc, char *callout) { - if (fc->callout) - free(fc->callout); + free(fc->callout); fc->callout = ffsb_strdup(callout); } |