| Summary: | [LTTng] Memory leak when selecting an experiment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Bernd Hufmann <bernd.hufmann> | ||||
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> | ||||
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Bernd Hufmann
Created attachment 183888 [details]
Fix for memory leak
This patch fixes the memory leak. Before processing the new experiment, the old experiment will be clean-up and all relevant references in the LTTngTreeNode structure (experiment and traces) will be removed. By doing that also the garbage collector can clean up the unused objects (including the checkpoints!).
Comment on attachment 183888 [details]
Fix for memory leak
Patch committed.
Bug fixed. Thanks Bernd. Delivered with 0.7 |