K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-07-14T18:38:10.834324Z K 7 svn:log V 180 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 END