mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Given set_log_level will maintain its own safe copy of the string, we don't need to 'dup it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16403 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
86f3842984
commit
2527066cb4
@ -538,10 +538,9 @@ gnc_log_init()
|
||||
continue;
|
||||
}
|
||||
|
||||
logger_name = g_strdup(parts[0]);
|
||||
level = qof_log_level_from_string(parts[1]);
|
||||
|
||||
qof_log_set_level(logger_name, level);
|
||||
qof_log_set_level(parts[0], level);
|
||||
g_strfreev(parts);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user