diff --git a/draw.h b/draw.h index f57ad241..9c9dab37 100644 --- a/draw.h +++ b/draw.h @@ -161,6 +161,7 @@ draw_text_context_wipe(draw_text_context_t *pdata) if(pdata->attr_list) pango_attr_list_unref(pdata->attr_list); p_delete(&pdata->text); + p_clear(pdata, 1); } }