aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-06-09 00:21:56 +0200
committerjcid <devnull@localhost>2008-06-09 00:21:56 +0200
commit2af3c647b9b7022eb4c5f4e2d0045b8834cf61f4 (patch)
treeb1ebd62a22520fce6aa388f986004c53fffe007c /src
parent22fbeee18b7cc45eabb654ececeb113b26073b82 (diff)
- Fixed a corner case memory leak.
Diffstat (limited to 'src')
-rw-r--r--src/html.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/html.cc b/src/html.cc
index 145b221a..df637860 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -565,10 +565,8 @@ DilloHtml::~DilloHtml()
{
_MSG("::~DilloHtml(this=%p)\n", this);
- if (!parse_finished) {
- MSG("Parse was not finished\n");
+ if (!parse_finished)
freeParseData();
- }
a_Bw_remove_doc(bw, this);