K 10 svn:author V 3 kib K 8 svn:date V 27 2016-11-13T21:39:55.794335Z K 7 svn:log V 109 Move common cleanup code into helper. Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week END