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>