Bug 579206 - Fix leak in draw coalescing code, r=vlad

--HG--
extra : rebase_source : 75b34a703cd94db6b1779658c123acf97fcb7670
This commit is contained in:
Michael Wu 2010-07-16 11:25:38 -07:00
parent 9cda0e7a38
commit e8d246b4e0

View File

@ -183,6 +183,7 @@ nsAppShell::ProcessNextNativeEvent(PRBool mayWait)
// MOVE DRAW
// when we process all the events.
RemoveNextEvent();
delete nextEvent;
#if defined(ANDROID_DEBUG_EVENTS)
ALOG("# Removing DRAW event (%d outstanding)", mNumDraws);