1451079 Resource leak
The system resource will not be reclaimed and reused, reducing the future availability of the resource.
In test_log_level_rule_at_least_as_severe_as: Leak of memory or pointers to system resources (CWE-404)
Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ica923f9f010e51217ca62664faab99cb34999c0b
test_log_level_rule_is_equal_exactly();
test_log_level_rule_serialize_deserialize(exactly);
+ lttng_log_level_rule_destroy(exactly);
}
static void test_log_level_rule_at_least_as_severe_as(void)
test_log_level_rule_is_equal_at_least_as_severe_as();
test_log_level_rule_serialize_deserialize(at_least_as_severe_as);
+ lttng_log_level_rule_destroy(at_least_as_severe_as);
}
int main(int argc, const char *argv[])