Skip to content

Commit

Permalink
Bug 797230 - Use after free in
Browse files Browse the repository at this point in the history
gnucash__sheet_style_destroy.
  • Loading branch information
madroach authored and jralls committed May 10, 2019
1 parent 48c3c8b commit 7b6b860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnucash/register/register-gnome/gnucash-style.c
Expand Up @@ -709,9 +709,9 @@ gnucash_sheet_style_destroy (GnucashSheet *sheet, SheetBlockStyle *style)

if (style->dimensions->refcount == 0)
{
style_dimensions_destroy (style->dimensions);
g_hash_table_remove (sheet->dimensions_hash_table,
style_get_key (style));
style_dimensions_destroy (style->dimensions);
}

g_free (style);
Expand Down

0 comments on commit 7b6b860

Please sign in to comment.