projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
143b7fd
)
eeze: Decrement eeze init count also in error cases
author
Stefan Schmidt
<s.schmidt@samsung.com>
Tue, 26 Mar 2013 11:04:07 +0000
(11:04 +0000)
committer
Stefan Schmidt
<s.schmidt@samsung.com>
Tue, 26 Mar 2013 11:04:07 +0000
(11:04 +0000)
src/lib/eeze/eeze_main.c
patch
|
blob
|
history
diff --git
a/src/lib/eeze/eeze_main.c
b/src/lib/eeze/eeze_main.c
index
0437b46
..
5965dab
100644
(file)
--- a/
src/lib/eeze/eeze_main.c
+++ b/
src/lib/eeze/eeze_main.c
@@
-27,7
+27,7
@@
eeze_init(void)
return _eeze_init_count;
if (!eina_init())
- return
0
;
+ return
--_eeze_init_count
;
_eeze_udev_log_dom = eina_log_domain_register("eeze_udev", EINA_COLOR_CYAN);
if (_eeze_udev_log_dom < 0)
@@
-94,7
+94,7
@@
eina_net_fail:
_eeze_udev_log_dom = -1;
eina_fail:
eina_shutdown();
- return
0
;
+ return
--_eeze_init_count
;
}
EAPI int