Message screensaver: close pipe with pclose - CID 990944

This commit is contained in:
Philippe Saint-Pierre 2013-07-17 13:06:10 -04:00
parent f293052d9f
commit fa30ef5640

View File

@ -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