commit | 8844288c4e0c67cf7e765a92aafe62f76e3e86b1 | [log] [tgz] |
---|---|---|
author | Jaben Carsey <jaben.carsey@intel.com> | Mon Jan 13 18:47:18 2014 +0000 |
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | Mon Jan 13 18:47:18 2014 +0000 |
tree | 83511d9be5c80b7212ed63d50d591c5859b15d14 | |
parent | b00c06f018bb86bec276dcd8e3038e0a06221b09 [diff] |
ShellPkg: assign pointer to NULL after free to prevent double free Since the API caller may call twice we need to make sure that we set pointer to NULL so we can tell if already free. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15107 6f19259b-4bc3-4df7-8a09-765794883524