Project

General

Profile

Actions

Bug #1088

closed

lttng-live can leak some streams

Added by Julien Desfossez about 7 years ago. Updated about 4 years ago.

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

Also available in: Atom PDF