1
0
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:
Nikolas Garofil 2009-11-15 23:45:33 +01:00
parent ec879680d2
commit f0211cd43d

View File

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