mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Bug #1134: Remove double object creation in VirtualNetworkPool::allocate
This commit is contained in:
parent
f1e4e3815a
commit
b177159a3c
@ -108,8 +108,6 @@ int VirtualNetworkPool::allocate (
|
||||
goto error_duplicated;
|
||||
}
|
||||
|
||||
vn = new VirtualNetwork(uid, gid, uname, gname, vn_template);
|
||||
|
||||
*oid = PoolSQL::allocate(vn, error_str);
|
||||
|
||||
return *oid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user