]> git.ipfire.org Git - thirdparty/libvirt.git/commit
secret: Remove need for local configFile and base64File in ObjectAdd
authorJohn Ferlan <jferlan@redhat.com>
Wed, 31 May 2017 19:11:28 +0000 (15:11 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 25 Jul 2017 13:11:48 +0000 (09:11 -0400)
commit7ca17da9f2f645398ea1315ce41b0a005651a02d
tree498d87b23cc8b4d18102abbbc9b5a30eb7f5839f
parent2d3c7122c88626d8f27fc72d77819469369016cc
secret: Remove need for local configFile and base64File in ObjectAdd

Rather than assign to a local variable, let's just assign directly to the
object using the error path for cleanup.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virsecretobj.c