Fix segfault when updateconf with FILEDS

(cherry picked from commit bdb496d443)
This commit is contained in:
Ruben S. Montero committed 2018-04-20 16:51:35 +02:00
1 parent 4821a36e4c
commit d5f0951a7b
1 file changed
+2
+2
View File
@@ -2632,6 +2632,8 @@ int VirtualMachine::updateconf(VirtualMachineTemplate& tmpl, string &err)
return -1;
}
context_new = obj_template->get("CONTEXT");
if ( !files_ds.empty() )
{
context_new->replace("FILES_DS", files_ds);