projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the lttng::free util under the lttng::memory namespace
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
destroy.cpp
diff --git
a/src/bin/lttng/commands/destroy.cpp
b/src/bin/lttng/commands/destroy.cpp
index 0258e31e858ced1d61dfb76a85d916f6932d203c..5e19d4189025181682d2040d503290cc9d0172cf 100644
(file)
--- 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);
}
} while (ret != 0);
}
- std::unique_ptr<char, lttng::memory::create_deleter_class<char, lttng::free>::deleter>
+ std::unique_ptr<char,
+ lttng::memory::create_deleter_class<char, lttng::memory::free>::deleter>
stats_str;
if (!session_was_already_stopped) {
char *raw_stats_str = nullptr;
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 =
* destroy the file.
*/
const auto session_name =
- lttng::make_unique_wrapper<char, lttng::free>(get_session_name_quiet());
+ lttng::make_unique_wrapper<char, lttng::
memory::
free>(get_session_name_quiet());
if (session_name && !strncmp(session.name, session_name.get(), NAME_MAX)) {
config_destroy_default();
}
if (session_name && !strncmp(session.name, session_name.get(), NAME_MAX)) {
config_destroy_default();
}
This page took
0.023495 seconds
and
4
git commands to generate.