mozilla-b2g/gaia — pull request #2273 by davidflanagan (2012-07-10 07:01:04+00:00)
Title: fix memory leak of bug #2109

This pull request modifies the gallery app so that it creates three static img elements for full-screen image display and always uses those three, resetting their src as needed instead of creating new img elements each time the displayed image changes. This avoids the gecko bugs where the memory holding decoded images is not freed.