Commit 21151e66 authored by Jussi Laakkonen's avatar Jussi Laakkonen

Merge branch 'jb49651_fix' into 'master'

Free dir after creating paths in stats.c

See merge request mer-core/connman!282
parents 50896578 45dc46a6
......@@ -908,11 +908,11 @@ int __connman_stats_service_register(struct connman_service *service)
}
}
g_free(dir);
name = g_build_filename(dir, "data", NULL);
file->history_name = g_build_filename(dir, "history", NULL);
g_free(dir);
/* TODO: Use a global config file instead of hard coded value. */
file->account_period_offset = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment