浏览代码

Quick.Azure: small leak

Unknown 7 年之前
父节点
当前提交
62188a56e9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Quick.Azure.pas

+ 2 - 0
Quick.Azure.pas

@@ -491,6 +491,8 @@ begin
         try
           if (Assigned(azBlobList)) and (azBlobList.Count > 0) and (CloudResponseInfo.StatusCode = 200) then Result := True;
         finally
+          //frees azbloblist objects
+          for azBlob in azBlobList do azBlob.Free;
           azBlobList.Free;
         end;
       finally