I am sending NvBuffer dmabuf fd’s between processes using the method described in this post.
When I am done using a buffer should I call NvBufferDestroy from both the sending and receiving process, or just from the process that uses the buffer last?
Also, to free a buffer should I only call NvBufferDestroy or also NvBufferReleaseFd?