From e5b33823e7efd785e2f2ada4683abdef7c2a436c Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Fri, 25 Mar 2016 18:42:15 +0200 Subject: 6817 libbe should not free string from nvlist_lookup_string() Reviewed by: Josef 'Jeff' Sipek Reviewed by: Yuri Pankov Reviewed by: Robert Mustacchi Reviewed by: Hans Rosenfeld Approved by: Dan McDonald --- usr/src/lib/libbe/common/be_activate.c | 1 - 1 file changed, 1 deletion(-) 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); } -- cgit v1.2.3