mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
ANDROID: goldfish_sync: Fix sync_file_obj is NULL but dereferenced problem
Change-Id: I22c1e8c96a62ceaf3b0088b0b81dced6889334ab Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
@@ -323,7 +323,6 @@ goldfish_sync_fence_create(struct goldfish_sync_timeline_obj *obj,
|
||||
return fd;
|
||||
|
||||
err_cleanup_fd_pt:
|
||||
fput(sync_file_obj->file);
|
||||
put_unused_fd(fd);
|
||||
err_cleanup_pt:
|
||||
fence_put(&syncpt->base);
|
||||
|
||||
Reference in New Issue
Block a user