Gleb Smirnoff 0a7d45d349 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
2011-07-14 18:38:10 +00:00
..
2011-07-06 09:43:25 +00:00
2011-07-04 20:50:09 +00:00
2011-04-18 14:07:01 +00:00