K 10 svn:author V 3 njl K 8 svn:date V 27 2003-03-05T18:42:34.000000Z K 7 svn:log V 237 Fix resource leaks where resources weren't freed in attach() failure. Also fix memory leaks in rl(4) and wb(4) in detach(). Since contigmalloc() is not used in -current, these exact bugs are not present there. Approved by: re (murray) END