| Index: chrome/utility/chrome_content_utility_client.cc
|
| diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
|
| index 4ee0fe9276a9345228338ca7e73acd075fbccd71..33adc50f1f6dc004dfb3e9b42e737956ab9aa8ef 100644
|
| --- a/chrome/utility/chrome_content_utility_client.cc
|
| +++ b/chrome/utility/chrome_content_utility_client.cc
|
| @@ -251,6 +251,9 @@ void ChromeContentUtilityClient::OnCreateZipFile(
|
| const base::FilePath& src_dir,
|
| const std::vector<base::FilePath>& src_relative_paths,
|
| const base::FileDescriptor& dest_fd) {
|
| + // dest_fd should be closed in the function. See ipc/ipc_message_util.h for
|
| + // details.
|
| + base::ScopedFD fd_closer(dest_fd.fd);
|
| bool succeeded = true;
|
|
|
| // Check sanity of source relative paths. Reject if path is absolute or
|
|
|