summaryrefslogtreecommitdiffstats
path: root/src/cbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cbs.c')
-rw-r--r--src/cbs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cbs.c b/src/cbs.c
index 9d75881a..cf8fc101 100644
--- a/src/cbs.c
+++ b/src/cbs.c
@@ -743,6 +743,7 @@ static void cbs_got_file_contents(struct ofono_cbs *cbs)
"Powered", &error);
if (error) {
+ g_error_free(error);
powered = TRUE;
g_key_file_set_boolean(cbs->settings, SETTINGS_GROUP,
"Powered", powered);