Re: [Spice-devel] [PATCH spice-gtk 1/2] gstreamer: Fix leak using GstBus watch

2023-11-04 Thread Frediano Ziglio
Il giorno sab 4 nov 2023 alle ore 16:22 Kasireddy, Vivek ha scritto: > > Hi Frediano, > > > > > 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

Re: [Spice-devel] [PATCH spice-gtk 1/2] gstreamer: Fix leak using GstBus watch

2023-11-04 Thread Kasireddy, Vivek
Hi Frediano, > > 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

[Spice-devel] [PATCH spice-gtk 1/2] gstreamer: Fix leak using GstBus watch

2023-11-03 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