e8983f6 covscan: free encryption types in case there is an error

1 file Authored by abbra 4 years ago, Committed by cheimes 4 years ago,
    covscan: free encryption types in case there is an error
    
    Even when a number of translated encryption types is zero, the array
    might still be allocated. Call free() in any case as free(NULL) does
    nothing.
    
    Fixes: https://pagure.io/freeipa/issue/8131
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    
        
file modified
+1 -0