[PATCH 11/16] xenParseXLChannel: Use g_strndup instead of virStrndup

Ján Tomko jtomko at redhat.com
Wed Mar 10 17:52:07 UTC 2021


On a Tuesday in 2021, Peter Krempa wrote:
>Make the temporary string a autofree-ing pointer and copy the contents.

an

>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/libxl/xen_xl.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 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: 484 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210310/182eddec/attachment-0001.sig>


More information about the libvir-list mailing list