diff --git a/src/core.c b/src/core.c index eef425dc..08b68fa8 100644 --- a/src/core.c +++ b/src/core.c @@ -1608,6 +1608,7 @@ void free_text_objects(struct text_object *root, int internal) break; #endif /* X11 */ } + if(obj->special_data) free(obj->special_data); free(obj); } #undef data