projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Crash on lttng list -j/-l/-p when no events are present
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
list.c
diff --git
a/src/bin/lttng/commands/list.c
b/src/bin/lttng/commands/list.c
index d7970a8b9ab2e0a2553ef5475d66fbc3ebd7d460..e2cf4df5047f802925f71d043d545059fed9bea8 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-372,7
+372,7
@@
static int list_jul_events(void)
int i, size;
struct lttng_domain domain;
struct lttng_handle *handle;
- struct lttng_event *event_list;
+ struct lttng_event *event_list
= NULL
;
pid_t cur_pid = 0;
char *cmdline = NULL;
This page took
0.024852 seconds
and
4
git commands to generate.