coverity#1312138 Resource leak
Change-Id: Ib3f5665f336fb933fbfa88a1032d76d881b38196
This commit is contained in:
parent
ba39c9dd6a
commit
a5f82cf7eb
@ -27,6 +27,7 @@ int osl_get_system_random_data(char* buffer, size_t desired_len)
|
||||
{
|
||||
if (errno != EINTR)
|
||||
{
|
||||
close(fd);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user