1
0
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:
Carlos Martín 2012-02-17 19:56:35 +01:00
parent f1e4e3815a
commit b177159a3c

View File

@ -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;