HomeFreeBSD

atf map: Fix double-free in low memory error path

Description

atf map: Fix double-free in low memory error path

If atf_list_append(, X, ) fails, X is freed. Don't free it again.

If anyone wants to walk this patch upstream, be my guest. I literally cannot
upstream it myself due to Google's stupid CLA.

Reported by: Coverity
CID: 979936
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Parents
rS299495: libkrb5: Fix potential double-free
Branches
Unknown
Tags
Unknown