X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=lib%2Ftrace-handle.c;h=d5b906aa961f5639b51f9a7c9114a19c28f58f3a;hp=0da565b02000e230eb9322dbc34bc3dffe5c0f5e;hb=c862350b39e4d95750bbb627497d3768d87817ff;hpb=71dd417a2b700c2315ef9919104572df1bc83f7a diff --git a/lib/trace-handle.c b/lib/trace-handle.c index 0da565b0..d5b906aa 100644 --- a/lib/trace-handle.c +++ b/lib/trace-handle.c @@ -49,18 +49,9 @@ struct bt_trace_handle *bt_trace_handle_create(struct bt_context *ctx) void bt_trace_handle_destroy(struct bt_trace_handle *th) { - th->format->close_trace(th->td); g_free(th); } -int bt_trace_handle_get_id(struct bt_trace_handle *th) -{ - if (!th) - return -1; - - return th->id; -} - const char *bt_trace_handle_get_path(struct bt_context *ctx, int handle_id) { struct bt_trace_handle *handle;