Re: [libvirt PATCH] qemu_snapshot: fix memory leak when reverting external snapshot

2024-05-29 Thread Jiri Denemark
On Mon, May 27, 2024 at 20:02:39 +0200, Pavel Hrdina wrote: > The code cleaning up virStorageSource doesn't free data allocated by > virStorageSourceInit() so we need to call virStorageSourceDeinit() > explicitly. > > Fixes: 8e664737813378d2a1bdeacc2ca8e942327e2cab > Resolves: https://issues.redha

[libvirt PATCH] qemu_snapshot: fix memory leak when reverting external snapshot

2024-05-27 Thread Pavel Hrdina
The code cleaning up virStorageSource doesn't free data allocated by virStorageSourceInit() so we need to call virStorageSourceDeinit() explicitly. Fixes: 8e664737813378d2a1bdeacc2ca8e942327e2cab Resolves: https://issues.redhat.com/browse/RHEL-33044 Signed-off-by: Pavel Hrdina --- src/qemu/qemu_