summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}