mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 19:46:27 -04:00
i2c_smbus_linux: closedir() on error path
This commit is contained in:
@@ -96,6 +96,7 @@ bool i2c_smbus_linux_detect()
|
||||
|
||||
if(ent == NULL)
|
||||
{
|
||||
closedir(dir);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user