Memory Leackage in Gstreamer with DMA buffer

Hi,
Please refer to the samples:
NvUtils NvBufSurface to gstreamer - #5 by DaneLLL
Opencv gpu mat into GStreamer without downloading to cpu - #15 by DaneLLL

Looks like yo don’t implement notify_to_destroy(). Please add it and try again.