Commit e5df3fe3 authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

Fix resource cleanup for `goldfish_sync_fence_create`



The `ioctl` call incorrectly cleaned up a
newly created fence if `copy_to_user` fails.

Bug: 200322608
Test: build
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Change-Id: Id93d1cf570cb32d37cb6e7f1f7e9345cfbb16d3d
parent abf82db2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment