diff options
-rwxr-xr-x | app/gfx/canvas_linux.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/gfx/canvas_linux.cc b/app/gfx/canvas_linux.cc index 6751115..7e561c6 100755 --- a/app/gfx/canvas_linux.cc +++ b/app/gfx/canvas_linux.cc @@ -92,6 +92,7 @@ void Canvas::SizeStringInt(const std::wstring& text, g_object_unref(layout); pango_font_description_free(desc); cairo_destroy(cr); + cairo_surface_destroy(surface); } void Canvas::ApplySkiaMatrixToCairoContext(cairo_t* cr) { |