Search found 4 matches

by MFr
Sat Jul 14, 2018 1:54 pm
Forum: madExcept
Topic: Leak Madness
Replies: 6
Views: 7612

Re: Leak Madness

Push! I need this function too.

With HideLeak() i can avoid creating a class as been reported as leakes. But if this class reserves memory (as a example TThread) this memory will be reported.
by MFr
Wed Jul 11, 2018 6:22 am
Forum: madExcept
Topic: Detected resource leak to early
Replies: 6
Views: 8098

Re: Detected resource leak to early

Hm, how do i know? In "the Event Log" there is a "Module Load: rtl250.bpl. Has Debug Info. ...", therefore i assume yes to 1. There is a "Module Load: madExcept32.dll ..." too. Can i assume no for 2.? Now i add "madBasic_;madDisAsm_;madExcept_" to "Runtim...
by MFr
Mon Jul 02, 2018 1:49 pm
Forum: madExcept
Topic: Detected resource leak to early
Replies: 6
Views: 8098

Re: Detected resource leak to early

Hello, i don't know how and why. Lets explain. I have a project named "TestQrtInfrastructure". It requires some packages. In the file "TestQrtInfrastructure.dpr" the uses starts with "madExcept". When i start the project, the ui appears (DUnit). Then i close the app. Th...
by MFr
Fri Jun 22, 2018 12:02 pm
Forum: madExcept
Topic: Detected resource leak to early
Replies: 6
Views: 8098

Detected resource leak to early

Hello, i try using madexcept to detect memory leaks. (Tokio) While debuging i came throu "class function TEncoding.GetUnicode: TEncoding;" in unit unit System.SysUtils where a TUnicodeEncoding is created. It is freed in class destructor TEncoding.Destroy; but after madexcept reports leaks....