]> git.saurik.com Git - wxWidgets.git/commit
Fix crash in wxCFEventLoop::AddSourceForFD().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Nov 2010 23:53:28 +0000 (23:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Nov 2010 23:53:28 +0000 (23:53 +0000)
commitbbacbe3980e9e828d12ac46a2067fd821545c816
tree5665437461fc3ee7fb3b5827e3483b46093e9238
parent11ea2e3a845d0adcb185c28704e59d834a165df4
Fix crash in wxCFEventLoop::AddSourceForFD().

Don't reset CFFileDescriptorRef before passing it to
CFFileDescriptorCreateRunLoopSource(), this resulted in a crash inside this
function.

Closes #11542.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/core/evtloop_cf.cpp