Skip to content

backends/native: Unref/unset key repeat GSource when cleared

Carlos Garnacho requested to merge wip/carlosg/repeat-source-leak into master

This GSource is not being properly unref nor the variable holding it cleared. This on one hand leaks the GSource memory, on the other hand may triggers warnings in keyboard_repeat() as the source may be (reentrantly) cleared, yet we don't exit early as seat_impl->repeat_source is never NULL.

Merge request reports