From: Zifei Tong Date: Tue, 4 Feb 2014 18:55:11 +0000 (-0500) Subject: Fix: remove free in unit test not needed anymore X-Git-Tag: v2.4.0-rc5~57 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=213f91200b553c43e6a04f7066ed1df4fdd6637b;p=lttng-tools.git Fix: remove free in unit test not needed anymore Signed-off-by: David Goulet --- diff --git a/tests/unit/test_ust_data.c b/tests/unit/test_ust_data.c index 52b93e9f6..92f877189 100644 --- a/tests/unit/test_ust_data.c +++ b/tests/unit/test_ust_data.c @@ -172,7 +172,6 @@ static void test_create_ust_event_exclusion(void) event->attr.name[LTTNG_UST_SYM_NAME_LEN - 1] == '\0', "Validate UST event and exclusion"); - free(exclusion); trace_ust_destroy_event(event); }