mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-04-30 13:30:45 +02:00
test: when dropping the ei context, also drop our seat ref
Otherwise we don't actually clean up everything, making the whole thing pointless. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
11857968c6
commit
96109fb415
1 changed files with 1 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ OBJECT_IMPLEMENT_GETTER(peck, eis, struct eis*);
|
|||
void
|
||||
peck_drop_ei(struct peck *peck)
|
||||
{
|
||||
peck->ei_seat = ei_seat_unref(peck->ei_seat);
|
||||
peck->ei = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue