[Fb-contrib-commit] SF.net SVN: fb-contrib:[1666] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2011-05-05 01:01:23
|
Revision: 1666
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1666&view=rev
Author: dbrosius
Date: 2011-05-05 01:01:17 +0000 (Thu, 05 May 2011)
Log Message:
-----------
make sure to clear the reg map on method entry
Modified Paths:
--------------
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LingeringGraphicsObjects.java
Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LingeringGraphicsObjects.java
===================================================================
--- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LingeringGraphicsObjects.java 2011-05-05 01:00:38 UTC (rev 1665)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LingeringGraphicsObjects.java 2011-05-05 01:01:17 UTC (rev 1666)
@@ -64,6 +64,7 @@
@Override
public void visitCode(Code obj) {
stack.resetForMethodEntry(this);
+ graphicsRegs.clear();
super.visitCode(obj);
for (Integer pc : graphicsRegs.values()) {
bugReporter.reportBug(new BugInstance(this, "LGO_LINGERING_GRAPHICS_OBJECT", NORMAL_PRIORITY)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|