Bug 1049806 - b2g process leaks FDs. r=bent

This commit is contained in:
Jason Duell
2014-08-11 11:35:03 -07:00
parent 18034e179b
commit 50f58bf7b9

View File

@@ -47,6 +47,8 @@ RemoteOpenFileParent::OpenSendCloseDelete()
path.get());
} else {
fileDescriptor = FileDescriptor(fd);
// FileDescriptor does a dup() internally, so we need to close our fd
close(fd);
}
}