Last Comment Bug 347042 - Copy Image to Clipboard leaks memory
: Copy Image to Clipboard leaks memory
: mlk
Product: Core
Classification: Components
Component: XUL (show other bugs)
: 1.8 Branch
: PowerPC Mac OS X
-- major (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Neil Deakin
Depends on:
  Show dependency treegraph
Reported: 2006-08-02 12:38 PDT by Kathleen Brade
Modified: 2011-09-27 13:42 PDT (History)
11 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Kathleen Brade 2006-08-02 12:38:29 PDT
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.
Comment 1 User image Alfred Kayser 2007-06-27 06:07:33 PDT
With Cairo, the nsImageMac decoder is no longer used.
So, it this leak still valid?
Comment 2 User image Ryan VanderMeulen [:RyanVM] 2008-12-20 08:21:59 PST
Still reproducible?
Comment 3 User image Marco Castelluccio [:marco] 2011-08-29 05:38:56 PDT
I think this leak is no longer valid.
Comment 4 User image Nicholas Nethercote [:njn] 2011-09-27 13:42:50 PDT
This is probably fixed.  Please reopen if it's still reproducible with recent Firefox versions.

Note You need to log in before you can comment on or make changes to this bug.