projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: release reference to created chunk if it can't be published
[lttng-tools.git]
/
src
/
common
/
config
/
session-config.c
diff --git
a/src/common/config/session-config.c
b/src/common/config/session-config.c
index 78d0c8b73357fa91a01fcc3cacbe26a119800da2..40019514bdb27021d63fb1ad563c2e3abe43c7e8 100644
(file)
--- a/
src/common/config/session-config.c
+++ b/
src/common/config/session-config.c
@@
-250,7
+250,7
@@
int config_get_section_entries(const char *override_path, const char *section,
config_entry_handler_cb handler, void *user_data)
{
int ret = 0;
config_entry_handler_cb handler, void *user_data)
{
int ret = 0;
- char *path;
+ c
onst c
har *path;
FILE *config_file = NULL;
struct handler_filter_args filter = { section, handler, user_data };
FILE *config_file = NULL;
struct handler_filter_args filter = { section, handler, user_data };
@@
-1633,6
+1633,7
@@
process_userspace_probe_tracepoint_attribute_node(
lttng_userspace_probe_location_tracepoint_create(
binary_path, provider_name,
probe_name, lookup_method);
lttng_userspace_probe_location_tracepoint_create(
binary_path, provider_name,
probe_name, lookup_method);
+ lookup_method = NULL;
goto error;
}
}
goto error;
}
}
@@
-2052,6
+2053,7
@@
end:
free(exclusions[i]);
}
free(exclusions[i]);
}
+ lttng_event_destroy(event);
free(exclusions);
free(filter_expression);
return ret;
free(exclusions);
free(filter_expression);
return ret;
@@
-3530,7
+3532,7
@@
int config_load_session(const char *path, const char *session_name,
}
if (!path) {
}
if (!path) {
- char *home_path;
+ c
onst c
har *home_path;
const char *sys_path;
/* Try home path */
const char *sys_path;
/* Try home path */
This page took
0.024279 seconds
and
4
git commands to generate.