cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r736825 - /cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
Date Thu, 22 Jan 2009 22:12:42 GMT
Author: dkulp
Date: Thu Jan 22 14:12:41 2009
New Revision: 736825

URL: http://svn.apache.org/viewvc?rev=736825&view=rev
Log:
[CXF-1889] Fix memory leak

Modified:
    cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java

Modified: cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java?rev=736825&r1=736824&r2=736825&view=diff
==============================================================================
--- cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
(original)
+++ cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
Thu Jan 22 14:12:41 2009
@@ -132,6 +132,9 @@
                     }
                 }
             }
+            if (sequenceCandidates.isEmpty()) {
+                candidates.remove(seq.getIdentifier());
+            }
             LOG.fine("Completed purging resend candidates.");
         }
         if (purged.size() > 0) {



Mime
View raw message