mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
6ea2852871
commit
96d93595f6
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user