projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb5613
)
[prevent][73691] Fix for resource leak
67/176767/1
accepted/tizen/unified/20180430.172433
submit/tizen/20180428.005615
submit/tizen/20180430.064002
author
Paweł Stawicki
<p.stawicki@samsung.com>
Mon, 23 Apr 2018 09:16:20 +0000
(11:16 +0200)
committer
Paweł Stawicki
<p.stawicki@samsung.com>
Mon, 23 Apr 2018 09:16:20 +0000
(11:16 +0200)
Change-Id: I7030fa9b835457b72ca2b826df4e2e9942d69d34
atspi/atspi-event-listener.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-event-listener.c
b/atspi/atspi-event-listener.c
index
1717b75
..
dc1ff80
100644
(file)
--- a/
atspi/atspi-event-listener.c
+++ b/
atspi/atspi-event-listener.c
@@
-788,14
+788,14
@@
atspi_event_listener_deregister_from_callback (AtspiEventListenerCB callback,
GList *l;
gboolean result = TRUE;
+ if (!callback)
+ {
+ return FALSE;
+ }
if (!convert_event_type_to_dbus (event_type, &category, &name, &detail, &matchrule_array))
{
return FALSE;
}
- if (!callback)
- {
- return FALSE;
- }
for (l = event_listeners; l;)
{