B #5712: Fix segfault on VM instantiate (#1725)

(cherry picked from commit c5c6f1a35a)
This commit is contained in:
Pavel Czerný authored and Ruben S. Montero committed 2022-01-28 14:46:18 +01:00
1 parent ffe0525335
commit 94065da512
1 file changed
+1 -1
+1 -1
View File
@@ -284,7 +284,7 @@ Request::ErrorCode VMTemplateInstantiate::request_execute(int id, string name,
{
quota_rollback(&extended_tmpl, Quotas::VIRTUALMACHINE, att);
for ( auto& ds : ds_quotas )
for ( auto& ds : applied )
{
quota_rollback(ds.get(), Quotas::DATASTORE, att);
}