Fix for Coverity defect(CID 104926)
authorhwajeong.son <hwajeong.son@samsung.com>
Mon, 1 Oct 2018 10:56:58 +0000 (19:56 +0900)
committerhwajeong.son <hwajeong.son@samsung.com>
Mon, 1 Oct 2018 10:56:58 +0000 (19:56 +0900)
commitcd326a9d312a41c4acbcd40061382a3e1e087970
treed65eb7d348a012ba5e3941bf0d8a7f630aa6e827
parent4f63912d29ee3191f40c00d7508fb018816ef7f3
Fix for Coverity defect(CID 104926)

Due to conditional free, the defect was occured.
Change the code to free properly.
If memory is alloced, it will be freed at the end of 'if'
src/input_file.c