On Fri, Jul 14, 2017 at 10:04:40AM -0400, John Ferlan wrote:
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(a)redhat.com>
---
src/conf/virsecretobj.c | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>