Skip to content
Snippets Groups Projects
Commit 2ea49359 authored by Pavel Hrdina's avatar Pavel Hrdina
Browse files

qemu_snapshot: fix memory leak when reverting external snapshot

The code cleaning up virStorageSource doesn't free data allocated by
virStorageSourceInit() so we need to call virStorageSourceDeinit()
explicitly.

Fixes: 8e664737
Resolves: https://issues.redhat.com/browse/RHEL-33044


Signed-off-by: default avatarPavel Hrdina <phrdina@redhat.com>
Reviewed-by: default avatarJiri Denemark <jdenemar@redhat.com>
parent 38c6c364
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment