mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 797230 - Use after free in
gnucash__sheet_style_destroy.
This commit is contained in:
parent
48c3c8bc51
commit
7b6b86000d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user