Skip to content

Commit

Permalink
test: fix a potential memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
mrc0mmand committed Jan 3, 2024
1 parent 23b764c commit 6d5313c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/polkit/polkitidentitytest.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ add_comparison_tests (void)
struct ComparisonTestData *test_data = &comparison_test_data[i];
gchar *test_name = g_strdup_printf ("/PolkitIdentity/comparison_%d", i);
g_test_add_data_func (test_name, test_data, test_comparison);
g_free(test_name);
}
}

Expand Down

0 comments on commit 6d5313c

Please sign in to comment.