feature #2465: virtualnetwork can update VLAN, VLAN_ID, BRIDGE and PHYDEV configuration attributes

This commit is contained in:
Ruben S. Montero committed 2014-03-04 17:11:56 +01:00
1 parent 253d75ef0b
commit a759d95c59
3 files changed
+98 -11

No files matched your search

+1 -4
View File
@@ -183,10 +183,7 @@ int PoolObjectSQL::replace_template(const string& tmpl_str, string& error)
return -1;
}
if ( obj_template != 0 )
{
delete obj_template;
}
delete obj_template;
obj_template = new_tmpl;