summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-10 10:14:29 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-10 10:14:29 (EST)
commit5e93fa233809a4d64bdc5fc0774699c96892ee22 (patch)
tree29df1386ad8f7341de9d6588b7ec32ac3c1b78c5 /src/config
parent0e627a3b7891c1922f81db5bf0a7a747c9d11e1e (diff)
downloadmarquee-5e93fa233809a4d64bdc5fc0774699c96892ee22.zip
marquee-5e93fa233809a4d64bdc5fc0774699c96892ee22.tar.gz
marquee-5e93fa233809a4d64bdc5fc0774699c96892ee22.tar.bz2
mq_profiles_new(): Free a created GFile
Diffstat (limited to 'src/config')
-rw-r--r--src/config/profiles.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/profiles.c b/src/config/profiles.c
index 28a66f8..ade081e 100644
--- a/src/config/profiles.c
+++ b/src/config/profiles.c
@@ -50,6 +50,7 @@ create(MqProfiles *profiles)
file = g_file_new_for_path(profiles->file_name);
stream = g_file_create(file, G_FILE_CREATE_PRIVATE, NULL, NULL);
+ g_object_unref(file);
if (!stream) {
return FALSE;
}