]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix the ASSERT issue in drvcfg command.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 27 Aug 2015 01:23:55 +0000 (01:23 +0000)
committershenshushi <shenshushi@Edk2>
Thu, 27 Aug 2015 01:23:55 +0000 (01:23 +0000)
commit57a3e4f9b5805e5443c7c1b0814d76abe8bcfa11
tree6ae5b1675d485924e02117ba8255018ed879765a
parentd933e70a9761bf47941ac3d973cc5e7ee44da930
ShellPkg: Fix the ASSERT issue in drvcfg command.

Initialize the local pointer to avoid to free a dangling pointer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18327 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellDriver1CommandsLib/DrvCfg.c