Update vendor/illumos/dist to 14152:46f5fb0b0d36:

Illumos DTrace issues:
  4061 libzfs: memory leak in iter_dependents_cb()
This commit is contained in:
Xin LI 2013-08-23 23:37:55 +00:00
parent a40012699f
commit baaf1b273e

View File

@ -21,8 +21,8 @@
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2010 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2012 by Delphix. All rights reserved.
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
#include <stdio.h>
@ -443,8 +443,12 @@ iter_dependents_cb(zfs_handle_t *zhp, void *arg)
err = zfs_iter_snapshots(zhp, iter_dependents_cb, ida);
ida->stack = isf.next;
}
if (!first && err == 0)
err = ida->func(zhp, ida->data);
else
zfs_close(zhp);
return (err);
}