mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
fix invalid free in if_up
This commit is contained in:
parent
ec879680d2
commit
f0211cd43d
@ -1766,7 +1766,7 @@ void free_text_objects(struct text_object *root, int internal)
|
||||
break;
|
||||
#endif /* X11 */
|
||||
}
|
||||
if(obj->special_data) free(obj->special_data);
|
||||
if(obj->type != OBJ_if_up && obj->special_data) free(obj->special_data);
|
||||
free(obj);
|
||||
}
|
||||
#undef data
|
||||
|
Loading…
Reference in New Issue
Block a user