ctf: Fix leaking context in CtfTmfTrace.initTrace()
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.tmf.ctf.core / src / org / eclipse / tracecompass / tmf / ctf / core / trace / CtfTmfTrace.java
index 05fc3fc22e22581eaa75fa54eb9e67f88d49374a..786efe899b1e7ce4526ad8e276d8c82c7c053c70 100644 (file)
@@ -194,6 +194,7 @@ public class CtfTmfTrace extends TmfTrace
                     }
                 }
             }
+            ctx.dispose();
         } catch (final CTFException e) {
             /*
              * If it failed at the init(), we can assume it's because the file
This page took 0.024619 seconds and 5 git commands to generate.