diff options
author | rbuj <[email protected]> | 2020-03-16 13:31:53 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-08-15 14:22:43 +0200 |
commit | 1eade559f6b22d896afdf3ed2577fdc985f53616 (patch) | |
tree | 58cd4867f5ba2a752f8d1a85491216f739cb2470 /capplets | |
parent | 617b5926b25d52792ed94a94da4ec6ed7db125d1 (diff) | |
download | mate-control-center-1eade559f6b22d896afdf3ed2577fdc985f53616.tar.bz2 mate-control-center-1eade559f6b22d896afdf3ed2577fdc985f53616.tar.xz |
mate-theme-info: Use of memory after it is freed
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/common/mate-theme-info.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c index e201492e..83ec9e0d 100644 --- a/capplets/common/mate-theme-info.c +++ b/capplets/common/mate-theme-info.c @@ -1824,8 +1824,7 @@ mate_theme_init () g_strfreev (search_path); /* if there's a separate xcursors dir, add that as well */ - if (strcmp (XCURSOR_ICONDIR, top_theme_dir_string) && - strcmp (XCURSOR_ICONDIR, "/usr/share/icons")) { + if (strcmp (XCURSOR_ICONDIR, "/usr/share/icons")) { top_theme_dir = g_file_new_for_path (XCURSOR_ICONDIR); add_top_icon_theme_dir_monitor (top_theme_dir, 1, NULL); g_object_unref (top_theme_dir); |