Properly free previous document from memory in litehtml's clear()
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 29 Jan 2019 20:47:53 +0000 (21:47 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 4 May 2019 14:49:35 +0000 (16:49 +0200)
commit03d8afe96798aca22400f693ceb7a42f0be3a9a2
tree5eb68e3a4c5caefe59be7a4261e9524604f600e6
parentb31dc41035cc54ea98cbcdeec51c6ecfd020849a
Properly free previous document from memory in litehtml's clear()

We also call paint_white() earlier in redraw().
This results in properly clearing the previously
rendered html content when opening a different
HTML part.
src/plugins/litehtml_viewer/lh_widget.cpp