diff options
author | Carsten Haitzler <raster@rasterman.com> | 2012-05-30 10:08:41 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2012-05-30 10:08:41 +0000 |
commit | 2be8f197002a942f81d926cad265f385d65d3019 (patch) | |
tree | 6336e673d4ffb2ba41af8658d4b56a3743fed6fa | |
parent | da3a9ab15dbab97c40e833849574e927d1c3e63e (diff) | |
download | eet-2be8f197002a942f81d926cad265f385d65d3019.tar.gz |
This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.
SVN revision: 71548
-rw-r--r-- | src/lib/eet_lib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index a350d11..bef99b3 100644 --- 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; |