Browse Source

Quick.Azure: small leak

Unknown 7 years ago
parent
commit
62188a56e9
1 changed files with 2 additions and 0 deletions
  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