Evas filters: Fix some crash and reduce insanity
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 8 Oct 2015 06:01:21 +0000 (15:01 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 12 Oct 2015 04:44:44 +0000 (13:44 +0900)
commitd271afd66c5a1c160f2d19941d00217f370bfeae
tree0e09b95dda1d43647d5fa4f6407c4afb43c44cfb
parenta8243ed382780615dd572babfeee3a333375ba80
Evas filters: Fix some crash and reduce insanity

In a rare situation the filter would access an invalid buffer.

Solution: Stop messing with buffer references by properly
referencing and releasing them when not needed, rather
than stealing references and hoping for the best. (There were
flags tracking stolen references, but that was still madness)
src/lib/evas/canvas/evas_filter_mixin.c
src/lib/evas/filters/evas_filter.c
src/lib/evas/filters/evas_filter_private.h