Message screensaver: close pipe with pclose - CID 990944
This commit is contained in:
parent
f293052d9f
commit
fa30ef5640
@ -43,7 +43,7 @@ BString *get_message()
|
|||||||
bytesRead = fread(buf, 1, 512, file);
|
bytesRead = fread(buf, 1, 512, file);
|
||||||
result->Append(buf, bytesRead);
|
result->Append(buf, bytesRead);
|
||||||
}
|
}
|
||||||
fclose(file);
|
pclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Just in case
|
// Just in case
|
||||||
|
Loading…
Reference in New Issue
Block a user