mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-29 18:18:39 +00:00
Fix "Conky usually segfaults on config file changes" (sf.net #3100221)
Someone needs to learn the difference between passing by value and passing by reference. Bug reported by Kevin Lyles.
This commit is contained in:
parent
a18f5e2808
commit
17d4658242
@ -2497,7 +2497,7 @@ void clean_up_x11(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
void free_specials(special_t *current) {
|
||||
void free_specials(special_t *¤t) {
|
||||
if (current) {
|
||||
free_specials(current->next);
|
||||
if(current->type == GRAPH)
|
||||
|
Loading…
x
Reference in New Issue
Block a user