X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=e2cf4df5047f802925f71d043d545059fed9bea8;hb=65167fc080cc312f646d145fa52c5e1269ea5907;hp=d7970a8b9ab2e0a2553ef5475d66fbc3ebd7d460;hpb=749617657f5884c3d5e0d16e384f837101f4474a;p=lttng-tools.git diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index d7970a8b9..e2cf4df50 100644 --- 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;