examples: Fix memory leak in uptime test

This commit is contained in:
Andreas Schneider 2018-10-25 08:57:10 +02:00
parent 1c6d6a9178
commit 79578efd19
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,8 @@ static void test_calc_uptime_null(void **state)
uptime_str = calc_uptime();
assert_null(uptime_str);
free(uptime_str);
}
int main(void)