mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimpwidgets: do not free cache before using it for debug output.
Thanks to Massimo for noticing this use-after-free bug.
This commit is contained in:
parent
545257226a
commit
22f234e5b0
1 changed files with 2 additions and 2 deletions
|
@ -727,10 +727,10 @@ transform_cache_config_notify (GObject *config,
|
|||
if (cache->proof_profile)
|
||||
g_object_unref (cache->proof_profile);
|
||||
|
||||
g_free (cache);
|
||||
|
||||
if (debug_cache)
|
||||
g_printerr ("deleted cache %p\n", cache);
|
||||
|
||||
g_free (cache);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue