From 4a1fa8d0cf8db74354d3daceb1e3a1b5199794bf Mon Sep 17 00:00:00 2001 From: SchneiderInfosystems Date: Wed, 27 Mar 2019 18:12:28 +0100 Subject: [PATCH 1/2] Add git ignorre for delphi and project specific files --- .gitignore | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..974a315f --- /dev/null +++ b/.gitignore @@ -0,0 +1,74 @@ +# Uncomment these types if you want even more clean repository. But be careful. +# It can make harm to an existing project source. Read explanations below. +# +# Resource files are binaries containing manifest, project icon and version info. +# They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files. +#*.res +# +# Type library file (binary). In old Delphi versions it should be stored. +# Since Delphi 2009 it is produced from .ridl file and can safely be ignored. +#*.tlb +# +# Diagram Portfolio file. Used by the diagram editor up to Delphi 7. +# Uncomment this if you are not using diagrams or use newer Delphi version. +#*.ddp +# +# Visual LiveBindings file. Added in Delphi XE2. +# Uncomment this if you are not using LiveBindings Designer. +#*.vlb +# +# Deployment Manager configuration file for your project. Added in Delphi XE2. +# Uncomment this if it is not mobile development and you do not use remote debug feature. +#*.deployproj +# +# C++ object files produced when C/C++ Output file generation is configured. +# Uncomment this if you are not using external objects (zlib library for example). +#*.obj +# + +# Delphi compiler-generated binaries (safe to delete) +*.exe +*.dll +*.bpl +*.bpi +*.dcp +*.so +*.apk +*.drc +*.map +*.dres +*.rsm +*.tds +*.dcu +*.lib +*.a +*.o +*.ocx + +# Delphi autogenerated files (duplicated info) +*.cfg +*.hpp +*Resource.rc + +# Delphi local files (user-specific info) +*.local +*.identcache +*.projdata +*.tvsconfig +*.dsk + +# Delphi history and backups +__history/ +__recovery/ +*.~* + +# Castalia statistics file (since XE7 Castalia is distributed with Delphi) +*.stat + +# Project specific +bin/*.pak +bin/locales +bin/*.bin +bin/*.dat +demos/FMXExternalPumpBrowser/FMXExternalPumpBrowser.res + From c693aa506ed50d75925eac172c325ca2525afbca Mon Sep 17 00:00:00 2001 From: SchneiderInfosystems Date: Wed, 27 Mar 2019 18:18:56 +0100 Subject: [PATCH 2/2] Prevent Memory Leak of one TCriticalSection object --- demos/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas b/demos/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas index 5e1ce053..258bb54e 100644 --- a/demos/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas +++ b/demos/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas @@ -237,6 +237,7 @@ end; procedure TFMXExternalPumpBrowserFrm.FormDestroy(Sender: TObject); begin + fResizeCS.Free; if (FPopUpBitmap <> nil) then FreeAndNil(FPopUpBitmap); end;