diff --git a/windows/drawtext.cpp b/windows/drawtext.cpp index 98bb745d..f5e872b7 100644 --- a/windows/drawtext.cpp +++ b/windows/drawtext.cpp @@ -380,6 +380,7 @@ void uiDrawFreeTextLayout(uiDrawTextLayout *layout) { delete layout->attrs; layout->format->Release(); + uiFree(layout->graphemes); uiFree(layout->text); uiFree(layout); }