Re: [libvirt PATCH] util: fix double destroy / missing unref of GSource

2022-04-27 Thread Michal Prívozník
On 4/26/22 16:26, Daniel P. Berrangé wrote: > A leak of the GSource was introduced in > > commit 87a43a907f0ad4897a28ad7c216bc70f37270b93 > Author: Michal Prívozník > Date: Fri Jan 28 18:42:45 2022 +0100 > > lib: Use g_clear_pointer() more > > As it mistakenly replaced the g_vir_sou

[libvirt PATCH] util: fix double destroy / missing unref of GSource

2022-04-26 Thread Daniel P . Berrangé
A leak of the GSource was introduced in commit 87a43a907f0ad4897a28ad7c216bc70f37270b93 Author: Michal Prívozník Date: Fri Jan 28 18:42:45 2022 +0100 lib: Use g_clear_pointer() more As it mistakenly replaced the g_vir_source_unref call with a second call to g_source_destroy. Signed