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:
Родитель
e89c9959cf
Коммит
ddf96e6b44
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче