1
0
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:
Pavel Labath 2011-01-05 13:54:04 +01:00
parent 87591f502e
commit 41dc5db094

View File

@ -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;
}