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:
Roman Kiryanov <rkir@google.com>
Change-Id: Id93d1cf570cb32d37cb6e7f1f7e9345cfbb16d3d
Loading
Please sign in to comment