summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2016-03-25 18:42:15 +0200
committerDan McDonald <danmcd@omniti.com>2016-03-25 15:52:53 -0400
commite5b33823e7efd785e2f2ada4683abdef7c2a436c (patch)
treeced0a56301fdf142522ba8b5879bd7d4714a8a00
parente4cb59f791c5c6dea7ad4caa6dee845024ce71ef (diff)
downloadillumos-joyent-e5b33823e7efd785e2f2ada4683abdef7c2a436c.tar.gz
6817 libbe should not free string from nvlist_lookup_string()
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Dan McDonald <danmcd@omniti.com>
-rw-r--r--usr/src/lib/libbe/common/be_activate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/src/lib/libbe/common/be_activate.c b/usr/src/lib/libbe/common/be_activate.c
index 416ceef7e2..4843be623b 100644
--- a/usr/src/lib/libbe/common/be_activate.c
+++ b/usr/src/lib/libbe/common/be_activate.c
@@ -900,7 +900,6 @@ be_do_installboot_helper(zpool_handle_t *zphp, nvlist_t *child, char *stage1,
be_print_err(gettext("be_do_installboot: "
"vdev %s is %s, can't install boot loader\n"),
path, zpool_state_to_name(vs->vs_state, vs->vs_aux));
- free(path);
return (BE_SUCCESS);
}