forked from enlightenment/efl
Fix possible memory leak with software_16.
If image data is not loaded at all, engine must free associated 32 bit structure. SVN revision: 32781
This commit is contained in:
parent
502b766d66
commit
3a64b46646
|
@ -123,6 +123,7 @@ soft16_image_destroy(Soft16_Image *im)
|
|||
if (im->file) evas_stringshare_del(im->file);
|
||||
if (im->key) evas_stringshare_del(im->key);
|
||||
if (im->free_pixels) free(im->pixels);
|
||||
if (im->source_im) evas_cache_image_drop(im->source_im);
|
||||
free(im);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue