mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Bugfix: Segfault when starting with no configfile.
This commit is contained in:
parent
0ea5fa1468
commit
2c35099b82
@ -7548,6 +7548,10 @@ static void load_config_file(const char *f)
|
||||
}
|
||||
}
|
||||
CONF("text") {
|
||||
if(output_methods & TO_X) {
|
||||
X11_initialisation();
|
||||
}
|
||||
|
||||
if (global_text) {
|
||||
free(global_text);
|
||||
global_text = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user