3604 zdb should print bpobjs more verbosely (fix zdb hang)
authorMatthew Ahrens <mahrens@delphix.com>
Mon, 11 Mar 2013 11:44:37 -0800
changeset 13982 b7e1d5ab228b
parent 13981 e0b637c317fa
child 13983 fe80600e1f8e
3604 zdb should print bpobjs more verbosely (fix zdb hang)
usr/src/cmd/zdb/zdb.c
--- a/usr/src/cmd/zdb/zdb.c	Mon Mar 11 10:48:46 2013 -0800
+++ b/usr/src/cmd/zdb/zdb.c	Mon Mar 11 11:44:37 2013 -0800
@@ -1258,6 +1258,7 @@
 				continue;
 			}
 			dump_bpobj(&subbpo, "subobj", indent + 1);
+			bpobj_close(&subbpo);
 		}
 	} else {
 		(void) printf("    %*s: object %llu, %llu blkptrs, %s\n",