mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
Illumos 6659 - nvlist_free(NULL) is a no-op
6659 nvlist_free(NULL) is a no-op Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com> References: https://www.illumos.org/issues/6659 https://github.com/illumos/illumos-gate/commit/aab83bb Ported-by: David Quigley <dpquigl@davequigley.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #4566
This commit is contained in:
committed by
Brian Behlendorf
parent
16794374b3
commit
8a5fc74880
+1
-2
@@ -5294,8 +5294,7 @@ zfs_do_allow_unallow_impl(int argc, char **argv, boolean_t un)
|
||||
|
||||
cleanup0:
|
||||
nvlist_free(perm_nvl);
|
||||
if (update_perm_nvl != NULL)
|
||||
nvlist_free(update_perm_nvl);
|
||||
nvlist_free(update_perm_nvl);
|
||||
cleanup1:
|
||||
fs_perm_set_fini(&fs_perm_set);
|
||||
cleanup2:
|
||||
|
||||
Reference in New Issue
Block a user