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:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user