]> xenbits.xensource.com Git - libvirt.git/commit
util: Cleanup error path for virPolkitAgentCreate
authorJohn Ferlan <jferlan@redhat.com>
Wed, 2 Mar 2016 18:59:37 +0000 (13:59 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 2 Mar 2016 18:59:37 +0000 (13:59 -0500)
commit0b36b0e9ce83e8f96de27dffa90a0cb28cb229c9
tree1342cf426dc6e6011b18fa06b7a16973bd67944e
parentf5f1ccbc239ae908999f2494c55559f3c85cd50d
util: Cleanup error path for virPolkitAgentCreate

More fallout from changing to using virPolkitAgent and handling error
paths.  Needed to clear the 'cmd' once stored and of course add the
virCommandFree(cmd) in the error: label.
src/util/virpolkit.c