summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorMC Return <mc.return@gmx.net>2013-02-20 23:37:35 +0100
committerMC Return <mc.return@gmx.net>2013-02-20 23:37:35 +0100
commit7b7bb532304544baaf6082bd4d7ef7be3bf611f1 (patch)
treea85fdf0b4362fcd1d41c1bc2ca66b840668f5c30 /plugins/unityshell
parent2b2b619ee001e1fed18660772b0e5bd3d6be50cd (diff)
Hopefully fixed memory leak of atk_event
(bzr r3166.2.4)
Diffstat (limited to 'plugins/unityshell')
-rw-r--r--plugins/unityshell/src/unity-util-accessible.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/unityshell/src/unity-util-accessible.cpp b/plugins/unityshell/src/unity-util-accessible.cpp
index 712ab1f81..f5a725658 100644
--- a/plugins/unityshell/src/unity-util-accessible.cpp
+++ b/plugins/unityshell/src/unity-util-accessible.cpp
@@ -286,6 +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);
return NULL;
}