]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/VfrCompile: Assign 'NULL' for closed file handle
authorHao Wu <hao.a.wu@intel.com>
Thu, 30 Nov 2017 08:40:42 +0000 (16:40 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 25 Dec 2017 01:53:56 +0000 (09:53 +0800)
commit9edcd2788d7baa767b0761f0917c014612b6d72a
tree03b3480563cab2f104be83788b417696d7d39bf5
parentb567adb81e16e009ada73dfa2fbd5a0f9688d78f
BaseTools/VfrCompile: Assign 'NULL' for closed file handle

Assign 'NULL' value to the already-closed file handle to avoid closing
the handle multiple times.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/VfrCompile/VfrCompiler.cpp