Skip to content

Commit

Permalink
ignore failures on ION buffer free
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Jul 28, 2021
1 parent 9c7dbf8 commit 487ec1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions visionipc/visionbuf_ion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,5 @@ void VisionBuf::free() {
close(this->fd);

struct ion_handle_data handle_data = {.handle = this->handle};
int ret = ioctl(ion_fd, ION_IOC_FREE, &handle_data);
assert(ret == 0);
ioctl(ion_fd, ION_IOC_FREE, &handle_data);
}

0 comments on commit 487ec1a

Please sign in to comment.