From: David Goulet Date: Fri, 12 Jul 2013 17:47:12 +0000 (-0400) Subject: Fix: kernel data unit test X-Git-Tag: v2.3.0-rc1~35 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e7c9f24870f4c5df0f5b25deb498124f6d7fc655;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)