summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/errlmanager_common.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/errl/errlmanager_common.C')
-rw-r--r--src/usr/errl/errlmanager_common.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/errl/errlmanager_common.C b/src/usr/errl/errlmanager_common.C
index e69036195..8bd058fac 100644
--- a/src/usr/errl/errlmanager_common.C
+++ b/src/usr/errl/errlmanager_common.C
@@ -177,6 +177,7 @@ void ErrlManager::setupPnorInfo()
sendErrLogToBmc(err,
false /* do not resend SELs */);
delete err;
+ err = nullptr;
}
else
{
@@ -724,6 +725,7 @@ void ErrlManager::sendErrLogToBmc(errlHndl_t &io_err, bool i_sendSels)
l_sensorType[j] = 0;
delete l_errl;
+ l_errl = nullptr;
}
// this call will modify the sensor if any procedure
OpenPOWER on IntegriCloud