Changeset 64221 in webkit


Ignore:
Timestamp:
Jul 28, 2010 12:53:50 PM (14 years ago)
Author:
Adam Roben
Message:

Stop leaking Connection::m_readState.hEvent on Windows

Fixes <http://webkit.org/b/43129> CoreIPC::Connection leaks its read
event on Windows

Reviewed by Darin Adler.

  • Platform/CoreIPC/win/ConnectionWin.cpp:

(CoreIPC::Connection::platformInvalidate): Close the event handle.

Location:
trunk/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r64208 r64221  
     12010-07-28  Adam Roben  <aroben@apple.com>
     2
     3        Stop leaking Connection::m_readState.hEvent on Windows
     4
     5        Fixes <http://webkit.org/b/43129> CoreIPC::Connection leaks its read
     6        event on Windows
     7
     8        Reviewed by Darin Adler.
     9
     10        * Platform/CoreIPC/win/ConnectionWin.cpp:
     11        (CoreIPC::Connection::platformInvalidate): Close the event handle.
     12
    1132010-07-26  Steve Block  <steveblock@google.com>
    214
  • trunk/WebKit2/Platform/CoreIPC/win/ConnectionWin.cpp

    r63855 r64221  
    9393        return;
    9494
    95     // FIXME: Unregister the handle.
     95    // FIXME: Unregister the handles.
     96
     97    ::CloseHandle(m_readState.hEvent);
     98    m_readState.hEvent = 0;
    9699
    97100    ::CloseHandle(m_connectionPipe);
Note: See TracChangeset for help on using the changeset viewer.