summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-14 23:19:34 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-14 23:19:34 -0500
commitdb7813dec1cd5f4aff4a21815370d2293e03bb1e (patch)
treed68eb01b3a3df6a0ca0df47f2b4187ac02015e1f
parent7e5d8fa7becb49f31efd1c30b23f17b55f5c4dfa (diff)
downloadcompiz-with-glib-mainloop-db7813dec1cd5f4aff4a21815370d2293e03bb1e.tar.gz
compiz-with-glib-mainloop-db7813dec1cd5f4aff4a21815370d2293e03bb1e.tar.bz2
compiztoolbox: Close the user-dirs file when the XDG variable is not found.
-rw-r--r--plugins/compiztoolbox/src/compiztoolbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/compiztoolbox/src/compiztoolbox.cpp b/plugins/compiztoolbox/src/compiztoolbox.cpp
index 41aa64e..553914e 100644
--- a/plugins/compiztoolbox/src/compiztoolbox.cpp
+++ b/plugins/compiztoolbox/src/compiztoolbox.cpp
@@ -95,6 +95,7 @@ getXDGUserDir (XDGUserDir userDir)
return value;
}
}
+ userDirsFile.close ();
return "";
}