summaryrefslogtreecommitdiff
diff options
-rw-r--r--plugins/unityshell/src/unity-util-accessible.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unity-util-accessible.cpp b/plugins/unityshell/src/unity-util-accessible.cpp
index f5a725658..ca8c6bb54 100644
--- a/plugins/unityshell/src/unity-util-accessible.cpp
+++ b/plugins/unityshell/src/unity-util-accessible.cpp
@@ -286,7 +286,7 @@ atk_key_event_from_nux_event_key(nux::Event* event)
/* we don't call atk_key_event_from_nux_event_key if the event
is different to keydown or keyup */
g_assert_not_reached();
- g_free(atk_key_event);
+ g_free(atk_event);
return NULL;
}