Update eng_image_free function and check of references.
Diff Detail
Diff Detail
- Repository
- rEFL core/efl
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 2286 Build 2351: arc lint + arc unit
Comment Actions
It would be better if effort was put on migrating to gl_generic anyway.
src/modules/evas/engines/gl_common/evas_gl_texture.c | ||
---|---|---|
970 ↗ | (On Diff #9548) | This completely change the behavior of pt_unref. Reference is an int. If we have an excess of unref for whatever reason, we would after that patch risk a bigger crash/problem. Testing if it is 0 to continue is defensive programing and I don't see why you need to change that, |
Comment Actions
Please check patch
Need review for fix bug in Eflete
src/modules/evas/engines/gl_common/evas_gl_texture.c | ||
---|---|---|
970 ↗ | (On Diff #9548) | like as check in gl_common_image: EAPI void im->references--; if (im->references > 0) return; ... |