am bc96fa33: am 0e981c83: EmuGL: Fix heap corruption

* commit 'bc96fa33dc4dcac2bcb27d9ed2488f5815c88704':