Kaydet (Commit) 8102008e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Memory leak

Change-Id: I1e3678ca14b502b36c1ab698910c13179e83beb4
üst d59f411b
......@@ -47,7 +47,12 @@ void SalGenericDisplay::deregisterFrame( SalFrame* pFrame )
while ( it != m_aUserEvents.end() )
{
if( it->m_pFrame == pFrame )
{
if (it->m_nEvent == SALEVENT_USEREVENT) {
delete static_cast<ImplSVEvent *>(it->m_pData);
}
it = m_aUserEvents.erase( it );
}
else
++it;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment