mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Fix minor memleak
This commit is contained in:
parent
dc9e6436cc
commit
d6525d8790
@ -7540,6 +7540,8 @@ void clean_up(void)
|
||||
}
|
||||
|
||||
free_fonts();
|
||||
}else{
|
||||
free(fonts); //in set_default_configurations a font is set but not loaded
|
||||
}
|
||||
|
||||
#endif /* X11 */
|
||||
@ -8045,7 +8047,7 @@ static void load_config_file(const char *f)
|
||||
} else {
|
||||
output_methods &= ~TO_X;
|
||||
x_initialised = NEVER;
|
||||
free(fonts); //in set_default_configurations a font is set
|
||||
free(fonts); //in set_default_configurations a font is set but not loaded
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user