simpletest: Close fd after closing device
This commit is contained in:
parent
3755eea668
commit
1ececbbf36
1 changed files with 1 additions and 1 deletions
|
@ -57,8 +57,8 @@ int main(int argc, char *argv[]) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
close(fd);
|
|
||||||
libseat_close_device(backend, device);
|
libseat_close_device(backend, device);
|
||||||
|
close(fd);
|
||||||
libseat_close_seat(backend);
|
libseat_close_seat(backend);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue