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,8 +13733,8 @@ unsigned gpioHardwareRevision(void)
rev = ntohl(tmp); rev = ntohl(tmp);
rev &= 0xFFFFFF; /* mask out warranty bit */ rev &= 0xFFFFFF; /* mask out warranty bit */
} }
fclose(filp);
} }
fclose(filp);
} }
piCores = 0; piCores = 0;