Fix nullref exception in ATAStorage (#1931)
This commit is contained in:
@@ -116,7 +116,8 @@ internal class WindowsSmart : ISmart
|
||||
}
|
||||
|
||||
Marshal.FreeHGlobal(buffer);
|
||||
return null;
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
public unsafe SMART_THRESHOLD[] ReadSmartThresholds()
|
||||
|
||||
Reference in New Issue
Block a user