secacl: Fix a memleak in an error path