On Fri, Feb 08, 2019 at 01:37:00PM -0500, John Ferlan wrote:
Rather than having an error path, let's rework the code to
allocate
and fill into an @def variable and then steal that into @ret when we
are successful leaving just a cleanup: path.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
Reviewed-by: Erik Skultety <eskultet(a)redhat.com>
---
src/conf/storage_conf.c | 113 ++++++++++++++++++++--------------------
1 file changed, 56 insertions(+), 57 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano