Fix memory leak in wxWebKitJavascriptResult

We need to unref the result wrapped by this object in its dtor.
This commit is contained in:
Ilya Sinitsyn
2020-10-19 00:24:04 +07:00
committed by Vadim Zeitlin
parent f7c4677cb2
commit bea13d68c0

View File

@@ -29,6 +29,7 @@ public:
~wxWebKitJavascriptResult()
{
if ( m_jsresult != NULL )
webkit_javascript_result_unref(m_jsresult);
}