Fix: remove free in unit test not needed anymore
authorZifei Tong <soariez@gmail.com>
Tue, 4 Feb 2014 18:55:11 +0000 (13:55 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 4 Feb 2014 18:55:11 +0000 (13:55 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/unit/test_ust_data.c

index 52b93e9f6b87013bda56f56c34e1d7f65cfabc1c..92f8771898b5167ffd47dc7cf32b52bc8e9a95bb 100644 (file)
@@ -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);
 }
 
This page took 0.032746 seconds and 4 git commands to generate.