Fix: check return of parse_template
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 28 Jun 2016 22:23:00 +0000 (18:23 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 4 Jul 2016 19:42:28 +0000 (15:42 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
src/bin/lttng/commands/create.c

index 5fdcbe3d2b26302b5d25d1a2d3fed865354e6f3a..60f3d7c685b29e266bb94ae3c784fa338686a28f 100644 (file)
@@ -876,6 +876,9 @@ static int create_session(void)
                                &base_ctrl_url,
                                &base_data_url,
                                &base_shm_path);
+               if (ret) {
+                       goto error;
+               }
        }
 
        /* Option validation */
This page took 0.02681 seconds and 5 git commands to generate.