[PATCH 03/23] libxlLoggerNew: Avoid virHashFree by rearranging code

Ján Tomko jtomko at redhat.com
Tue Nov 30 15:03:18 UTC 2021


On a Tuesday in 2021, Peter Krempa wrote:
>Allocate the hash table only after the log file is opened so that we
>don't need to deallocate it on failure.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/libxl/libxl_logger.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211130/6c90ef6a/attachment-0001.sig>


More information about the libvir-list mailing list