projects
/
platform
/
upstream
/
at-spi2-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed crash during deregistering applications.
[platform/upstream/at-spi2-core.git]
/
registryd
/
registry.c
diff --git
a/registryd/registry.c
b/registryd/registry.c
index
c533eb0
..
15bc7a9
100644
(file)
--- a/
registryd/registry.c
+++ b/
registryd/registry.c
@@
-144,11
+144,12
@@
find_index_of_reference (GPtrArray *arr, const gchar *name, const gchar * path,
ref = spi_reference_new (name, path);
- for (i = 0; i < arr->len
&& found == FALSE
; i++)
+ for (i = 0; i < arr->len; i++)
{
if (compare_reference (ref, g_ptr_array_index (arr, i)));
{
found = TRUE;
+ break;
}
}