MT5 code produces memory leak

Hi. When compiling and running this expert, the terminal says there are memory leaks.

The warnings are:
2019.10.03 16:38:37.244    2019_09_20Strategy 2.6.35 (EURUSD,H1)    1 object of type CSQTime left
2019.10.03 16:38:37.244    2019_09_20Strategy 2.6.35 (EURUSD,H1)    1 object of type CExitAtEndOfDay left
2019.10.03 16:38:37.244    2019_09_20Strategy 2.6.35 (EURUSD,H1)    1 object of type CExitOnFriday left
2019.10.03 16:38:37.244    2019_09_20Strategy 2.6.35 (EURUSD,H1)    1 object of type CLimitTimeRange left
2019.10.03 16:38:37.244    2019_09_20Strategy 2.6.35 (EURUSD,H1)    1 object of type CMaxTradesPerDay left
2019.10.03 16:38:37.244    2019_09_20Strategy 2.6.35 (EURUSD,H1)    1 object of type CMinMaxSLPT left
2019.10.03 16:38:37.244    2019_09_20Strategy 2.6.35 (EURUSD,H1)    240 bytes of leaked memory

Thanks. I hope this is helpful in the ongoing development.

Attachments
2019_09_20Strategy 26373.mq5
(196.68 KiB)
2019_09_20Strategy 26373.sqx
(42.85 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

GA
#1

GaryAitcheson

03.10.2019 17:47

Task created

GA
#2

GaryAitcheson

03.10.2019 17:54
Voted for this task.
TB
#3

Tomas Brynda

15.10.2019 09:00

Status changed from New to Fixed

Hi GaryAitcheson,

I've fixed it. 


Thanks for reporting this issue.


Best regards,

Tomas

GA
#4

GaryAitcheson

15.10.2019 10:46
Thanks Tomas

Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please