diff options
author | Ján Tomko <jtomko@redhat.com> | 2019-10-19 18:41:29 +0200 |
---|---|---|
committer | Ján Tomko <jtomko@redhat.com> | 2019-10-21 12:51:54 +0200 |
commit | d74067c07be3cdd655a87ceaafdb3005396f7676 (patch) | |
tree | 55d65fc242382e79027d09def558f41cda66ff29 /src/util/virlockspace.c | |
parent | cb756a99143a0d5979e3fe0c15b2b87adae4837d (diff) | |
download | libvirt-d74067c07be3cdd655a87ceaafdb3005396f7676.tar.gz |
conf: use g_strdup in virDomainDiskSet
Use a temporary variable to allow copying from the
currently set source.
Always return 0 since none of the callers distinguishes
between 0 and 1 propagated from VIR_STRDUP.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'src/util/virlockspace.c')
0 files changed, 0 insertions, 0 deletions