From fc25fa16e1c1195de1a36a17ffcff7eaf5bccd1c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 28 Jul 2016 09:57:48 -0400 Subject: [PATCH] lib: Fix compiler warning from previous patch I had this in a `fixup!` I thought. Closes: #414 Approved by: giuseppe --- src/libostree/ostree-bootconfig-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-bootconfig-parser.c b/src/libostree/ostree-bootconfig-parser.c index 6ca4df1d..f7728e42 100644 --- a/src/libostree/ostree-bootconfig-parser.c +++ b/src/libostree/ostree-bootconfig-parser.c @@ -244,7 +244,7 @@ static void ostree_bootconfig_parser_init (OstreeBootconfigParser *self) { self->options = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); - self->lines = g_ptr_array_new_with_free_func (g_variant_unref); + self->lines = g_ptr_array_new_with_free_func ((GDestroyNotify)g_variant_unref); } void