Fixing possible fclose on null pointer

This commit is contained in:
Ryan Plauche 2020-06-28 22:01:40 -05:00 committed by Guy McSwain
parent e6bfc40a51
commit 487bf29673
1 changed files with 1 additions and 1 deletions

View File

@ -13733,9 +13733,9 @@ unsigned gpioHardwareRevision(void)
rev = ntohl(tmp);
rev &= 0xFFFFFF; /* mask out warranty bit */
}
}
fclose(filp);
}
}
piCores = 0;
pi_ispi = 0;