projects
/
platform
/
upstream
/
atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Protect against NULL pointer dereference
[platform/upstream/atk.git]
/
atk
/
atkutil.c
diff --git
a/atk/atkutil.c
b/atk/atkutil.c
index
f5efa59
..
af95944
100644
(file)
--- a/
atk/atkutil.c
+++ b/
atk/atkutil.c
@@
-473,7
+473,7
@@
atk_remove_key_event_listener (guint listener_id)
{
AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL);
- if (klass->remove_key_event_listener)
+ if (klass
&& klass
->remove_key_event_listener)
klass->remove_key_event_listener (listener_id);
}