don't delete uninitialized m_eventHandler pointer if initialization failed (patch 1819944)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-27 21:16:54 +00:00
parent 0340c1465f
commit 872978fccb

View File

@@ -955,7 +955,8 @@ void wxGStreamerMediaEventHandler::OnMediaFinish(wxMediaEvent& WXUNUSED(event))
// Sets m_playbin to NULL signifying we havn't loaded anything yet
//-----------------------------------------------------------------------------
wxGStreamerMediaBackend::wxGStreamerMediaBackend()
: m_playbin(NULL)
: m_playbin(NULL),
m_eventHandler(NULL)
{
}