Make sure error handling code APIUserContentExtensionStore closes open file descriptors to avoid leaking them.
Created attachment 258074 [details] Patch
Created attachment 258081 [details] Patch
Comment on attachment 258081 [details] Patch r=me
Comment on attachment 258081 [details] Patch Clearing flags on attachment: 258081 Committed r187765: <http://trac.webkit.org/changeset/187765>
All reviewed patches have been landed. Closing bug.
Comment on attachment 258081 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=258081&action=review > Source/WebKit2/NetworkProcess/cache/NetworkCacheData.cpp:87 > Data adoptAndMapFile(int fd, size_t offset, size_t size) Can we change the code to use a class that is like a smart pointer so we don’t have to do this kind of careful programming? It’s too easy to make these kinds of mistakes if we have to do it all manually.