Jelajahi Sumber

Quick.Azure: small leak

Unknown 7 tahun lalu
induk
melakukan
62188a56e9
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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