X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fdestroy.cpp;h=5e19d4189025181682d2040d503290cc9d0172cf;hb=303ac4ed4037e45da1976c0951358ec19c5364d0;hp=0258e31e858ced1d61dfb76a85d916f6932d203c;hpb=830bc99366f13bfb3d6fc975441aba7388cb7ca1;p=lttng-tools.git diff --git a/src/bin/lttng/commands/destroy.cpp b/src/bin/lttng/commands/destroy.cpp index 0258e31e8..5e19d4189 100644 --- a/src/bin/lttng/commands/destroy.cpp +++ b/src/bin/lttng/commands/destroy.cpp @@ -110,7 +110,8 @@ cmd_error_code destroy_session(const lttng_session& session) } while (ret != 0); } - std::unique_ptr::deleter> + std::unique_ptr::deleter> stats_str; if (!session_was_already_stopped) { char *raw_stats_str = nullptr; @@ -242,7 +243,7 @@ cmd_error_code destroy_session(const lttng_session& session) * destroy the file. */ const auto session_name = - lttng::make_unique_wrapper(get_session_name_quiet()); + lttng::make_unique_wrapper(get_session_name_quiet()); if (session_name && !strncmp(session.name, session_name.get(), NAME_MAX)) { config_destroy_default(); }