summaryrefslogtreecommitdiff
path: root/atspi/atspi-device-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'atspi/atspi-device-x11.c')
-rw-r--r--atspi/atspi-device-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atspi/atspi-device-x11.c b/atspi/atspi-device-x11.c
index 4f88e609..eafdba62 100644
--- a/atspi/atspi-device-x11.c
+++ b/atspi/atspi-device-x11.c
@@ -516,8 +516,8 @@ atspi_device_x11_unmap_modifier (AtspiDevice *device, gint keycode)
AtspiX11KeyModifier *entry = l->data;
if (entry->keycode == keycode)
{
- g_free (entry);
priv->modifiers = g_slist_remove (priv->modifiers, entry);
+ g_free (entry);
return;
}
}