eddie.hunckler Community Member

  • Member since Mar 11th 2020
Last Activity

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • eddie.hunckler -

    Replied to the thread Memory Leak with BUTTON_SetText() and WM_SetCallback().

    Post
    Hi Florian, Thank you for the input here. The above example is somewhat contrived. I have more code in the actual application that does things like setting up LCD and calling GUI_Init(). The actual application callback handles things like touch,…
  • eddie.hunckler -

    Replied to the thread Memory Leak with BUTTON_SetText() and WM_SetCallback().

    Post
    Yes, I can confirm that WM_DeleteWindow(_hWnd); gets called for each created button. Is there anything additional that needs to be done to de-allocate the string? I only observe this leak when both the BUTTON_SetText(checkbox,"test") and…
  • eddie.hunckler -

    Posted the thread Memory Leak with BUTTON_SetText() and WM_SetCallback().

    Thread
    I have been running an application using EMWin for a while. A client discovered that some of the screen elements began disappearing after running for around 2 months. I have isolated this to what appears to be a memory leak in EmWin. I am periodically…