Commit 45dc46a6 authored by Jussi Laakkonen's avatar Jussi Laakkonen

[connman] Move freeing of dir after use in stats. Contributes to JB#49651

Free dir after creating paths for data and history in stats.c
parent 50896578
......@@ -908,11 +908,11 @@ int __connman_stats_service_register(struct connman_service *service)
name = g_build_filename(dir, "data", NULL);
file->history_name = g_build_filename(dir, "history", NULL);
/* 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