coverity#1312138 Resource leak

Change-Id: Ib3f5665f336fb933fbfa88a1032d76d881b38196
This commit is contained in:
Caolán McNamara 2015-07-23 12:09:39 +01:00
parent ba39c9dd6a
commit a5f82cf7eb

View File

@ -27,6 +27,7 @@ int osl_get_system_random_data(char* buffer, size_t desired_len)
{
if (errno != EINTR)
{
close(fd);
return false;
}
}