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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-27 21:16:54 +00:00
parent 34b1fdebbf
commit 820162a63f

View File

@@ -959,7 +959,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)
{
}