Skip to content

fake-input-accelerometer: Fix test program not working

Bastien Nocera requested to merge wip/hadess/fake-accel into master

We forgot to "steal" the pointer before returning from the function successfully, so the file descriptor was closed. Oops.

Fixes: cc112408 ("fake-input-accelerometer: Simplify error paths")

Merge request reports