Choosing "Copy Image" (such as from the browser context menu) leaks. Steps to reproduce on my debug Mac build: Baseline Test * Launch FF with a command similar to: ( setenv XPCOM_MEM_BLOAT_LOG Log.leaks ; ./firefox -P bonechotest ) * Quit * check Log.leaks for nsImageMac (the 4th number will be 0) Copy Image Test * Launch again but this time copy 5 different images * Quit * Check Log.leaks for nsImageMac (the 4th number will be 6) Leaking the images and their related data cannot be a good thing.
With Cairo, the nsImageMac decoder is no longer used. So, it this leak still valid?
I think this leak is no longer valid.
This is probably fixed. Please reopen if it's still reproducible with recent Firefox versions.