Fix an assertion failure seen on the layout tests, and when closing the window after...
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Nov 2007 09:05:32 +0000 (09:05 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Nov 2007 09:05:32 +0000 (09:05 +0000)
commit24cab839364984c23b5566a776033976078a3a6b
tree694964a3b6fcb7a9a36dd12ff7233da9d78bf4a0
parent424428d71e7f4ad236f6eec965500718f8f2ea64
Fix an assertion failure seen on the layout tests, and when closing the window after visiting <coudal.com/losalamos/>.

Reviewed by Oliver Hunt.

* Plugins/WebBaseNetscapePluginStream.mm:
(-[WebBaseNetscapePluginStream _destroyStream]): Unlink the file and close the file
descriptor even when the stream is being destroyed without the load completing. This
avoids leaking the path and file descriptor, and leaving the temporary file on disk.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/mac/ChangeLog
WebKit/mac/Plugins/WebBaseNetscapePluginStream.mm