Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
From Ely:
I noticed that in the set source function of BitmapImage, when we are passed a class that we instantiate, we remember that we've created the bitmap data ourselves, even if the class is a Bitmap. But in BitmapFill set source, we don't do that (only when the instiated class instance is a sprite that needs to be blitted into a bitmap data). Is that a potential memory leak?
Solution: BitmapFill should set bitmapCreated = true if the source is a class.