df6a89b Fix several leaks in ipadb_find_principal

1 file Authored by rharwood 4 years ago, Committed by frenaud 4 years ago,
    Fix several leaks in ipadb_find_principal
    
    `vals` is often leaked during early exit.  Refactor function to use a
    single exit path to prevent this.
    
    Signed-off-by: Robbie Harwood <rharwood@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>