mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 298031 memory leak in atk a11y code
patch by Christian Persch <chpe@gnome.org> r=aaronl sr=rbs a=tor
This commit is contained in:
parent
52b5c7c8f6
commit
a1372364e0
@ -202,11 +202,13 @@ NS_IMETHODIMP nsDocAccessibleWrap::FireToolkitEvent(PRUint32 aEvent,
|
||||
g_value_set_pointer (&values.new_value, pAtkPropChange->newvalue);
|
||||
rv = NS_OK;
|
||||
}
|
||||
if (NS_SUCCEEDED(rv))
|
||||
g_signal_emit_by_name(accWrap->GetAtkObject(),
|
||||
g_strconcat("property_change::",
|
||||
values.property_name, NULL),
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
char *signal_name = g_strconcat("property_change::",
|
||||
values.property_name, NULL);
|
||||
g_signal_emit_by_name(accWrap->GetAtkObject(), signal_name,
|
||||
&values, NULL);
|
||||
g_free (signal_name);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user