Actions
Bug #1088
closedlttng-live can leak some streams
Status:
Invalid
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
02/08/2017
Due date:
% Done:
0%
Estimated time:
Description
If new streams are added during a live session, the lttng_live_get_new_streams function overwrites the ctx->session->streams pointer with a new array.
The old pointers remain valid so the already active streams are still reachable, but they cannot be freed.
Also, the g_free order in lttng_live_open_trace_read is wrong, the streams should be freed before the session.
Actions