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