summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/hcreate.c
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2016-05-11 23:39:39 +0000
committercem <cem@FreeBSD.org>2016-05-11 23:39:39 +0000
commitb085e42af010174e13eeff51f0ace89eca34e8eb (patch)
tree361c730c36d19d43037ff66b67a1f02612460357 /lib/libc/stdlib/hcreate.c
parent2bcae162c5c82322e1d0a8c205a96505ca3367b1 (diff)
downloadFreeBSD-src-b085e42af010174e13eeff51f0ace89eca34e8eb.zip
FreeBSD-src-b085e42af010174e13eeff51f0ace89eca34e8eb.tar.gz
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
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud