summaryrefslogtreecommitdiffstats
path: root/src/usr/scom
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/scom')
-rw-r--r--src/usr/scom/scom.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/scom/scom.C b/src/usr/scom/scom.C
index d225eac02..72946642f 100644
--- a/src/usr/scom/scom.C
+++ b/src/usr/scom/scom.C
@@ -814,6 +814,7 @@ errlHndl_t doScomOp(DeviceFW::OperationType i_opType,
&& (l_err->reasonCode() == IBSCOM::IBSCOM_RETRY_DUE_TO_ERROR) )
{
delete l_err;
+ l_err = nullptr;
TRACFCOMP(g_trac_scom, "Forcing retry of Scom to %.16X on %.8X", i_addr,
(TARGETING::MASTER_PROCESSOR_CHIP_TARGET_SENTINEL == i_target ?
0xFFFFFFFF : TARGETING::get_huid(i_target)));
@@ -927,6 +928,7 @@ void addScomFailFFDC( errlHndl_t i_err,
if( l_ignored )
{
delete l_ignored;
+ l_ignored = nullptr;
l_scomdata = 0;
}
else
OpenPOWER on IntegriCloud