summaryrefslogtreecommitdiff
path: root/xfconfd
diff options
context:
space:
mode:
authorAli Abdallah <aliovx@gmail.com>2016-04-25 22:11:48 +0200
committerAli Abdallah <aliovx@gmail.com>2016-04-25 22:11:48 +0200
commitd8149a18e28125c6c514043810bee6e8617ad85f (patch)
treeeee811f3f68c6427b922e47f551cb64936b6099d /xfconfd
parentbae6bce6118b485f02d102de748cd2d9fe959ad9 (diff)
downloadxfconf-d8149a18e28125c6c514043810bee6e8617ad85f.tar.gz
Added copyright information + fix a couple of other memory leaks.
Diffstat (limited to 'xfconfd')
-rw-r--r--xfconfd/main.c1
-rw-r--r--xfconfd/xfconf-daemon.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/xfconfd/main.c b/xfconfd/main.c
index ad02d9c..8a8fc2a 100644
--- a/xfconfd/main.c
+++ b/xfconfd/main.c
@@ -1,6 +1,7 @@
/*
* xfconf
*
+ * Copyright (c) 2016 Ali Abdallah <ali@xfce.org>
* Copyright (c) 2007 Brian Tarricone <bjt23@cornell.edu>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/xfconfd/xfconf-daemon.c b/xfconfd/xfconf-daemon.c
index a729519..b96edfd 100644
--- a/xfconfd/xfconf-daemon.c
+++ b/xfconfd/xfconf-daemon.c
@@ -189,8 +189,9 @@ xfconf_set_property(XfconfExported *skeleton,
g_dbus_method_invocation_return_gerror(invocation, error);
g_error_free(error);
}
-
+
g_value_unset (value);
+ g_free (value);
return TRUE;
}