summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-12-28 12:40:14 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-12-28 12:40:14 +0900
commit8424c2b4a35eae7003b784b2b7c9d3ad73b48972 (patch)
tree26ef393baeb0df4b3c66a88fa503c2ae84e86fe4 /src/lib/evas/common
parent0014d0b99e243d9c7979e87bb7e1c0a09d3205e5 (diff)
evas - use freeq for common and cache images
this makes software rgba images and cache images use freeq to try and minimize possible bugs and crashes if we hit use of freed data for images.
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_image_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c
index 11588ad02f..2928b47314 100644
--- a/src/lib/evas/common/evas_image_main.c
+++ b/src/lib/evas/common/evas_image_main.c
@@ -584,7 +584,7 @@ _evas_common_rgba_image_delete(Image_Entry *ie)
584 } 584 }
585 } 585 }
586 if (ie->f && !ie->flags.given_mmap) eina_file_close(ie->f); 586 if (ie->f && !ie->flags.given_mmap) eina_file_close(ie->f);
587 free(im); 587 eina_freeq_ptr_add(eina_freeq_main_get(), im, free, sizeof(*im));
588} 588}
589 589
590static void 590static void