projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab808e4
)
This is a small change, so I won't changelog it (or backport), but
author
raster
<raster>
Wed, 30 May 2012 10:08:41 +0000
(10:08 +0000)
committer
raster
<raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 30 May 2012 10:08:41 +0000
(10:08 +0000)
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@71548
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eet_lib.c
patch
|
blob
|
history
diff --git
a/src/lib/eet_lib.c
b/src/lib/eet_lib.c
index
a350d11
..
bef99b3
100644
(file)
--- a/
src/lib/eet_lib.c
+++ b/
src/lib/eet_lib.c
@@
-633,6
+633,11
@@
shutdown_eina:
EAPI int
eet_shutdown(void)
{
+ if (eet_init_count <= 0)
+ {
+ ERR("Init count not greater than 0 in shutdown.");
+ return 0;
+ }
if (--eet_init_count != 0)
return eet_init_count;