Re: [Spice-devel] [PATCH spice-gtk] gstreamer: Fix leak using GstBus watch (v2)

2023-11-04 Thread Kasireddy, Vivek
Acked-by: Vivek Kasireddy > > This patch fixes a leak due to not freeing GstBus watch. > The watch is attached (as GSource) to the main loop and retains > a pointer to the bus so we need to remove it to release the bus > when we release the pipeline. > This was detected forcibly creating and des

[Spice-devel] [PATCH spice-gtk] gstreamer: Fix leak using GstBus watch (v2)

2023-11-04 Thread Frediano Ziglio
This patch fixes a leak due to not freeing GstBus watch. The watch is attached (as GSource) to the main loop and retains a pointer to the bus so we need to remove it to release the bus when we release the pipeline. This was detected forcibly creating and destroying lot of streams. After a while the