[Commits] [SCM] claws branch, litehtml, updated. 3.17.3-99-g92144b3
ticho at claws-mail.org
ticho at claws-mail.org
Tue Jan 29 22:24:43 CET 2019
The branch, litehtml has been updated
via 92144b3946417632e57e20d888320aa132c7a968 (commit)
from 10a7fde377d392088a2ef2303fd2aea2f8a50d2a (commit)
Summary of changes:
src/plugins/litehtml_viewer/container_linux.cpp | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit 92144b3946417632e57e20d888320aa132c7a968
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Tue Jan 29 22:23:54 2019 +0100
Fix a huge memory leak in Litehtml
diff --git a/src/plugins/litehtml_viewer/container_linux.cpp b/src/plugins/litehtml_viewer/container_linux.cpp
index c34df5f..26845fb 100644
--- a/src/plugins/litehtml_viewer/container_linux.cpp
+++ b/src/plugins/litehtml_viewer/container_linux.cpp
@@ -887,6 +887,7 @@ cairo_surface_t* container_linux::surface_from_pixbuf(const GdkPixbuf *bmp)
// Gdk::Cairo::set_source_pixbuf(ctx, bmp, 0.0, 0.0);
cairo_t *ctx = cairo_create(ret);
cairo_paint(ctx);
+ cairo_destroy(ctx);
return ret;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list