summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Janssen <janssens@us.ibm.com>2018-03-09 13:54:03 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-16 13:49:24 -0400
commit6d57e7720db9b89f3c73c8040426981dc04a54ff (patch)
tree5213e4ecb4471e3adacce7f4822b5d0b0eca7f10 /src
parentacd49fe410455102b514ebeb28b81f32cce5511d (diff)
downloadtalos-hostboot-6d57e7720db9b89f3c73c8040426981dc04a54ff.tar.gz
talos-hostboot-6d57e7720db9b89f3c73c8040426981dc04a54ff.zip
Change memory cleanup to use correct method
Change-Id: I391da725bbd2d22bdf4ecd49584dd2c5cbd718a7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55372 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Steven B. Janssen <janssens@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55382 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/centaur/procedures/vpd_accessors/getMBvpdAttr.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/centaur/procedures/vpd_accessors/getMBvpdAttr.C b/src/import/chips/centaur/procedures/vpd_accessors/getMBvpdAttr.C
index 015317073..c3dab7b67 100644
--- a/src/import/chips/centaur/procedures/vpd_accessors/getMBvpdAttr.C
+++ b/src/import/chips/centaur/procedures/vpd_accessors/getMBvpdAttr.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2017 */
+/* Contributors Listed Below - COPYRIGHT 2017,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -305,7 +305,7 @@ extern "C"
}
while (0);
- delete l_pBuffer;
+ delete[] l_pBuffer;
l_pBuffer = NULL;
fapi_try_exit:
OpenPOWER on IntegriCloud