diff options
author | Monsta <[email protected]> | 2014-11-16 14:28:44 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-28 09:20:42 +0100 |
commit | e1d4af90d002d0409f5838e496ae4f944d7ca512 (patch) | |
tree | 28b7813df43dd3ea3691b848059421f62268b0fd /capplets/appearance/theme-installer.c | |
parent | 8b9fbc9337bd1b8c8889de7d139f8d6ee93a3de3 (diff) | |
download | mate-control-center-e1d4af90d002d0409f5838e496ae4f944d7ca512.tar.bz2 mate-control-center-e1d4af90d002d0409f5838e496ae4f944d7ca512.tar.xz |
don't leak memory
Diffstat (limited to 'capplets/appearance/theme-installer.c')
-rw-r--r-- | capplets/appearance/theme-installer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c index 23c94f99..9630d98d 100644 --- a/capplets/appearance/theme-installer.c +++ b/capplets/appearance/theme-installer.c @@ -689,6 +689,8 @@ mate_theme_install (GFile *file, return; } + g_free (path); + base = g_file_get_basename (file); if (g_str_has_suffix (base, ".tar.gz") |