]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: use GRegex in virCommandRunRegex
authorJán Tomko <jtomko@redhat.com>
Wed, 13 Nov 2019 14:09:28 +0000 (15:09 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 14 Nov 2019 16:45:40 +0000 (17:45 +0100)
commit039d26fcb0eb31b743c19d0f2f94e20977a70700
treeb6ffb9dedaaaf82dba0e152331cd963c0c11270e
parent70d6994679ee20d9884ae6d7193ca4caac2a19f6
util: use GRegex in virCommandRunRegex

This saves us from allocating vars upfront, since GLib deals with
that for us.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/util/vircommand.c