lib: Fix leak in bootconfig parser
Pretty simple. Closes: #410 Approved by: giuseppe
This commit is contained in:
parent
27559c58a9
commit
a38f2f41b2
|
|
@ -244,7 +244,7 @@ static void
|
||||||
ostree_bootconfig_parser_init (OstreeBootconfigParser *self)
|
ostree_bootconfig_parser_init (OstreeBootconfigParser *self)
|
||||||
{
|
{
|
||||||
self->options = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
|
self->options = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
|
||||||
self->lines = g_ptr_array_new ();
|
self->lines = g_ptr_array_new_with_free_func (g_variant_unref);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue