Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2dd18a0 authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

ANDROID: goldfish_sync: Fix sync_file_obj is NULL but dereferenced problem



Change-Id: I22c1e8c96a62ceaf3b0088b0b81dced6889334ab
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent d37a6585
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);