diff -r 0f98da52363f -r b3f964e007c8 egl/sfopenvg/riMiniEGL.cpp --- a/egl/sfopenvg/riMiniEGL.cpp Wed May 19 11:44:23 2010 +0100 +++ b/egl/sfopenvg/riMiniEGL.cpp Wed May 19 14:34:22 2010 +0100 @@ -443,12 +443,11 @@ } } */ + RDebug::Printf("I am in releaseEGL "); CEglThreadSession* es = reinterpret_cast(Dll::Tls()); if (es) { - EGL* pEgl = es->getEgl(); - if (pEgl) - delete pEgl; + delete es; } Dll::SetTls(NULL); }