i2c_smbus_linux: closedir() on error path

master
nick black 4 years ago
parent c69a8d15f2
commit 99cd322721
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -96,6 +96,7 @@ bool i2c_smbus_linux_detect()
if(ent == NULL)
{
closedir(dir);
return(false);
}

Loading…
Cancel
Save