mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-13 19:22:58 +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;
|
break;
|
||||||
#endif /* X11 */
|
#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);
|
free(obj);
|
||||||
}
|
}
|
||||||
#undef data
|
#undef data
|
||||||
|
Loading…
Reference in New Issue
Block a user