mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 09:08:25 +00:00
Initialize special_t when allocating it (this should fix sf.net #3138243)
This commit is contained in:
parent
87591f502e
commit
41dc5db094
@ -279,8 +279,7 @@ struct special_t *new_special_t_node()
|
||||
{
|
||||
special_t *newnode = new special_t;
|
||||
|
||||
newnode->graph = NULL;
|
||||
newnode->next = NULL;
|
||||
memset(newnode, 0, sizeof *newnode);
|
||||
return newnode;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user