summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/i2c/i2c.C')
-rwxr-xr-xsrc/usr/i2c/i2c.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C
index 17f5d258d..762d66ec2 100755
--- a/src/usr/i2c/i2c.C
+++ b/src/usr/i2c/i2c.C
@@ -4143,6 +4143,7 @@ void getDeviceInfo( TARGETING::Target* i_i2cMaster,
{
// Unable to get info, so we skip
delete l_err;
+ l_err = nullptr;
continue;
}
// ignore the devices that aren't on the current target
OpenPOWER on IntegriCloud