OSDN Git Service

お恥ずかしい間違い
authoryamat0jp <terukohietori@gmail.com>
Tue, 7 Jan 2020 22:19:21 +0000 (07:19 +0900)
committeryamat0jp <terukohietori@gmail.com>
Tue, 7 Jan 2020 22:19:21 +0000 (07:19 +0900)
WebModuleUnit1.pas
tool/dbtool.dpr

index 29b534f..b500b88 100644 (file)
@@ -775,11 +775,7 @@ begin
       begin
         Response.ContentType:='image/png';
         res:=TResourceStream.Create(HInstance,'PngImage_1',RT_RCDATA);
-        try
-          Response.ContentStream:=res;
-        finally
-          res.Free;
-        end;
+        Response.ContentStream:=res;
       end
       else
         Response.ContentStream:=nil;
index b372ce3..243bda7 100644 (file)
@@ -1,5 +1,7 @@
 program dbtool;
 
+
+
 uses
   FMX.Forms,
   Unit1 in 'Unit1.pas' {Form2};