]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemublocktest: fix memory leak
authorJán Tomko <jtomko@redhat.com>
Fri, 17 Mar 2023 14:34:02 +0000 (15:34 +0100)
committerJán Tomko <jtomko@redhat.com>
Fri, 17 Mar 2023 14:36:36 +0000 (15:36 +0100)
commit246d187a0fda00eb7ee3debf8bcbc35472a3e29f
tree69a37d840244108933e230ef48fbc7ea6592a48a
parent5589a3e1f30ab6b9b3247b98f1a6697b0578923a
tests: qemublocktest: fix memory leak

Set enccount to 1, so the cleanup function knows
there is something to be cleaned up.

Fixes: 1992ae40fac90c315d0d8d1a9c6f880bd0a39b57
Signed-off-by: Ján Tomko <jtomko@redhat.com>
tests/qemublocktest.c