X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=fc1d82001e111befe11b2b7c75ea9e802654d519;hp=bc59e626f08fe998cd8f2e7e20749092f6cdde36;hb=bec9764693f61c0ed708d94a89e15a7ee38e5c69;hpb=cd7b292775db15d15db74519e5c8673834bbbff5 diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index bc59e626f..fc1d82001 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -493,7 +493,7 @@ static int list_ust_events(void) int i, size, ret = CMD_SUCCESS; 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;