DESCRIPTION

ctf: Fix leak in CTFIteratorManager

Change-Id: I8fc12259b00b0b8e631e8a30590b38f8bcc0892b
Signed-off-by: Alivia Ritter xxx@xxx.xxx


COMMENTS

author: Kaeden Tapia
date: 2014-09-02 04:47:38.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2014-09-02 05:36:34.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/8645/

-------------------------------------
author: Brenden Conley
date: 2014-09-02 06:16:28.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/8645/ : SUCCESS

-------------------------------------
author: Ivy Mitchell
date: 2014-09-02 14:13:58.000000000

Patch Set 1:

(1 comment)

Line:218, lttng/org.eclipse.linuxtools.tmf.ctf.core/src/org/eclipse/linuxtools/tmf/ctf/core/CtfIteratorManager.java -> should this be try with resources?

-------------------------------------
author: Kaeden Tapia
date: 2014-09-02 14:22:33.000000000

Patch Set 1:

(1 comment)

Line:218, lttng/org.eclipse.linuxtools.tmf.ctf.core/src/org/eclipse/linuxtools/tmf/ctf/core/CtfIteratorManager.java -> It's not autocloseable. I made the other one use try-with-resources  because it takes care of both the null check and close plus the compiler was complaining that it should be used.

-------------------------------------
author: Ivy Mitchell
date: 2014-09-02 14:55:04.000000000

Patch Set 1: Verified+1 Code-Review+2

(1 comment)

Line:218, lttng/org.eclipse.linuxtools.tmf.ctf.core/src/org/eclipse/linuxtools/tmf/ctf/core/CtfIteratorManager.java -> ok. great catch, thanks!

-------------------------------------
