Commit 2f4bc740 authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

Distribute fix for sev node

parent 1dd8f08d
...@@ -222,6 +222,8 @@ void wb_pkg::readConfig() ...@@ -222,6 +222,8 @@ void wb_pkg::readConfig()
n.push_back(pboot); n.push_back(pboot);
// Read bootfile, get plc and volumes // Read bootfile, get plc and volumes
vollist = 0;
volnamelist = 0;
sts = lfu_ReadBootFile(fname, &date, systemname, systemgroup, &vollist, sts = lfu_ReadBootFile(fname, &date, systemname, systemgroup, &vollist,
&volnamelist, &volcount, &plclist, &plccount); &volnamelist, &volcount, &plclist, &plccount);
if (EVEN(sts)) if (EVEN(sts))
...@@ -294,7 +296,9 @@ void wb_pkg::readConfig() ...@@ -294,7 +296,9 @@ void wb_pkg::readConfig()
} }
} }
if (volnamelist)
free(volnamelist); free(volnamelist);
if (vollist)
free(vollist); free(vollist);
} catch (wb_error& e) { } catch (wb_error& e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment