Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c214c27

Browse filesBrowse files
committed
Destroy cairo_surface_t in container_cairo::draw_list_marker
1 parent 5d9f199 commit c214c27
Copy full SHA for c214c27

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎containers/cairo/container_cairo.cpp

Copy file name to clipboardExpand all lines: containers/cairo/container_cairo.cpp
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.