]> git.ipfire.org Git - thirdparty/libvirt.git/commit
openvzParseBarrierLimit: Rework string handling
authorPeter Krempa <pkrempa@redhat.com>
Thu, 1 Apr 2021 13:34:52 +0000 (15:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 12 Apr 2021 13:55:10 +0000 (15:55 +0200)
commitd5c9d168c4922807c98a395e93a08594b8ccabf5
tree2f62fb1ec170810e3444facf588dea49e6ced0b5
parent94e601f5e8e03d4f94997223f3b22bdc818935b4
openvzParseBarrierLimit: Rework string handling

Use g_strsplit instead of virStringSplitCount and automatically free the
temporary string list.

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