Efl.Input: Properly unref the device if a new device is set.
authorGuilherme Iscaro <iscaro@profusion.mobi>
Thu, 1 Dec 2016 18:13:11 +0000 (16:13 -0200)
committerBruno Dilly <bdilly@profusion.mobi>
Fri, 2 Dec 2016 17:12:56 +0000 (15:12 -0200)
commit345fec274730ff8b14f41009fba89767d17f38fa
tree75d71162e7fedc5e7881cdb94189c61bad5c6f75
parent81782414dfba9a8a69ea42a4dd5b01fc19170d88
Efl.Input: Properly unref the device if a new device is set.

The old device must be unrefed, otherwise it will leak.
src/lib/evas/canvas/efl_input_focus.c
src/lib/evas/canvas/efl_input_hold.c
src/lib/evas/canvas/efl_input_key.c
src/lib/evas/canvas/efl_input_pointer.c