X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=108925eecca9134d90e59462ee3a2419b64985e7;hb=467849e2207c308e36aa801171b1063bb67c6020;hp=0492c804ad5b0fb19d69a3693eaefe412b6a7965;hpb=4a824c7f9b61a1db01644c694651698e7e6f70ef;p=lttng-tools.git diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 0492c804a..108925eec 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;