forked from AuroraMiddleware/gtk
icontheme: Don't free array element
When setting a clear function on a GArray, unlike most other places, this free func is expected to *not* free the array element itself -- only its contents. Don't free the array element. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2717
This commit is contained in:
parent
68011e99ac
commit
6fc706f983
@ -1246,7 +1246,6 @@ free_dir_mtime (IconThemeDirMtime *dir_mtime)
|
||||
gtk_icon_cache_unref (dir_mtime->cache);
|
||||
|
||||
g_free (dir_mtime->dir);
|
||||
g_slice_free (IconThemeDirMtime, dir_mtime);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user