From: David Goulet Date: Fri, 12 Jul 2013 17:47:12 +0000 (-0400) Subject: Fix: kernel data unit test X-Git-Tag: v2.2.2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a94e5fd6624a92136bd5ac8ca912c575c04f925e;p=lttng-tools.git Fix: kernel data unit test Signed-off-by: David Goulet --- diff --git a/tests/unit/test_kernel_data.c b/tests/unit/test_kernel_data.c index 0b4bb08c9..16d4f7b39 100644 --- a/tests/unit/test_kernel_data.c +++ b/tests/unit/test_kernel_data.c @@ -79,9 +79,6 @@ static void test_create_one_kernel_session(void) kern->stream_count_global == 0 && kern->metadata == NULL, "Validate kernel session"); - - /* Init list in order to avoid sefaults from cds_list_del */ - trace_kernel_destroy_session(kern); } static void test_create_kernel_metadata(void)