summaryrefslogtreecommitdiff
path: root/pluma/pluma-style-scheme-manager.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-11-03 13:58:45 +0300
committerinfirit <[email protected]>2014-12-19 13:56:35 +0100
commitd01f58c9f78c07719c42d1973d57bc4f347481e7 (patch)
tree28bd090067ace897a023fa438945fa6b6e0e9e04 /pluma/pluma-style-scheme-manager.c
parent4a79fb544f5c35843d536d73d60bc10f52ba7d4c (diff)
downloadpluma-d01f58c9f78c07719c42d1973d57bc4f347481e7.tar.bz2
pluma-d01f58c9f78c07719c42d1973d57bc4f347481e7.tar.xz
don't leak memory
Diffstat (limited to 'pluma/pluma-style-scheme-manager.c')
-rw-r--r--pluma/pluma-style-scheme-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pluma/pluma-style-scheme-manager.c b/pluma/pluma-style-scheme-manager.c
index c4f4aaf5..c43d6ffc 100644
--- a/pluma/pluma-style-scheme-manager.c
+++ b/pluma/pluma-style-scheme-manager.c
@@ -293,6 +293,8 @@ _pluma_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager
g_message ("Cannot install style scheme:\n%s",
error->message);
+ g_free (dirname);
+ g_free (styles_dir);
return NULL;
}