aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_smart.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2004-02-02 01:33:46 +0000
committerCarsten Haitzler <raster@rasterman.com>2004-02-02 01:33:46 +0000
commit144d7b8a78a3b815af4065422f4099dfff3eecb8 (patch)
tree91537536947ff5f9580b08d4b55f9b17ba15d786 /legacy/evas/src/lib/canvas/evas_smart.c
parentuse the created system file if one is not defined (modifications will cause i... (diff)
downloadefl-144d7b8a78a3b815af4065422f4099dfff3eecb8.tar.gz
oops - delete_me flag!
SVN revision: 8763
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_smart.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_smart.c b/legacy/evas/src/lib/canvas/evas_smart.c
index a250531327..2dec9dd813 100644
--- a/legacy/evas/src/lib/canvas/evas_smart.c
+++ b/legacy/evas/src/lib/canvas/evas_smart.c
@@ -147,5 +147,5 @@ void
evas_object_smart_unuse(Evas_Smart *s)
{
s->usage--;
- if (!s->usage) evas_smart_free(s);
+ if ((s->usage <= 0) && (s->delete_me)) evas_smart_free(s);
}