Correct memory leaks found with Valgrind.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20659 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
J. Alex Aycinena 2011-05-18 23:06:09 +00:00
parent 6ea2852871
commit 96d93595f6

View File

@ -218,6 +218,12 @@ gnc_html_webkit_dispose( GObject* obj )
priv->web_view = NULL;
}
if ( priv->html_string != NULL )
{
g_free( priv->html_string );
priv->html_string = NULL;
}
G_OBJECT_CLASS(gnc_html_webkit_parent_class)->dispose( obj );
}