Skip to content

Commit c214c27

Browse files
committed
Destroy cairo_surface_t in container_cairo::draw_list_marker
1 parent 5d9f199 commit c214c27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

containers/cairo/container_cairo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ void container_cairo::draw_list_marker(litehtml::uint_ptr hdc, const litehtml::l
3131
{
3232
draw_pixbuf((cairo_t*) hdc, img, marker.pos.x, marker.pos.y, cairo_image_surface_get_width(img),
3333
cairo_image_surface_get_height(img));
34+
cairo_surface_destroy(img);
3435
}
3536
} else
3637
{

0 commit comments

Comments
 (0)