summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2011-07-14 18:38:10 +0000
committerglebius <glebius@FreeBSD.org>2011-07-14 18:38:10 +0000
commit4055dcbe1cacf8618218d189236613d83963d5ee (patch)
treeb618d18ef0ae9cbf850622d012b2e65dfec5d7fd /usr.bin
parentea2a83a8daa00350e502581002584808808991f3 (diff)
downloadFreeBSD-src-4055dcbe1cacf8618218d189236613d83963d5ee.zip
FreeBSD-src-4055dcbe1cacf8618218d189236613d83963d5ee.tar.gz
In ng_attach_cntl() first allocate things that may fail, and then
do the rest of initialization. This simplifies code and fixes a double free in failure scenario. Reviewed by: bz
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud