Fix: list_ust_events(): dangling pointer
[lttng-tools.git] / src / bin / lttng / commands / list.c
index 0492c804ad5b0fb19d69a3693eaefe412b6a7965..108925eecca9134d90e59462ee3a2419b64985e7 100644 (file)
@@ -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;
 
This page took 0.023514 seconds and 4 git commands to generate.