Memory leak of String from device

77 views
asked Aug 16, 2017 in GUI Development by linglongzhu
I have used the following method to transfer the string to EW.

https://ask.embedded-wizard.de/300/how-to-exchange-strings-between-gui-and-a-device

The string created is transfer to the member paramter as the following.

if (newValue != pure Variant) {

  pure Variant = newValue;

  notifyobservers ^Variant;

}

The newValue is updated timely by 1s.

The memory allocated to the newValue  seams not be delocated.

1 Answer

0 votes
answered Aug 16, 2017 by linglongzhu
 
Best answer
It is coding miss, close it.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...