TBitmap memory leaks

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32951
    emailaya
    Participant

    A memory block has been leaked. The size is: 68

    This block was allocated by thread 0xC80, and the stack trace (return addresses) at the time was:
    40337E [System.pas][System][System.@GetMem][3412]
    63CCC6 [sSpeedButton.pas][sSpeedButton][sSpeedButton.TsSpeedButton.WndProc][883]
    510798 [Controls.pas][Controls][Controls.TWinControl.IsControlMouseMsg][9135]
    61CB38 [sPanel.pas][sPanel][sPanel.TsPanel.WndProc][429]
    51051F [Controls.pas][Controls][Controls.TWinControl.MainWndProc][9065]
    488B36 [Classes.pas][Classes][Classes.StdWndProc][12723]
    7E418734 [Unknown function at GetDC]
    7E418816 [Unknown function at GetDC]
    7E4189CD [Unknown function at GetWindowLongW]
    7E418A10 [DispatchMessageW]
    4F9F30 [Forms.pas][Forms][Forms.TApplication.ProcessMessage][9613]

    The block is currently used for an object of class: TBitmap

    This block was allocated by thread 0xC80, and the stack trace (return addresses) at the time was:
    40337E [System.pas][System][System.@GetMem][3412]
    4BEF62 [Graphics.pas][Graphics][Graphics.TBitmap.CopyImage][7752]
    4BF5E9 [Graphics.pas][Graphics][Graphics.TBitmap.FreeImage][7982]
    66DED8 [sGraphUtils.pas][sGraphUtils][sGraphUtils.PaintAddons][757]
    66E383 [sGraphUtils.pas][sGraphUtils][sGraphUtils.PaintItemBG][828]
    66E7E0 [sGraphUtils.pas][sGraphUtils][sGraphUtils.PaintItemBG][888]
    66F7D5 [sGraphUtils.pas][sGraphUtils][sGraphUtils.PaintItem][1118]
    63C130 [sSpeedButton.pas][sSpeedButton][sSpeedButton.TsSpeedButton.PrepareCache][624]
    63CC98 [sSpeedButton.pas][sSpeedButton][sSpeedButton.TsSpeedButton.WndProc][880]
    510798 [Controls.pas][Controls][Controls.TWinControl.IsControlMouseMsg][9135]
    61CB38 [sPanel.pas][sPanel][sPanel.TsPanel.WndProc][429]

    The block is currently used for an object of class: TBitmapImage

    The allocation number is: 664962

    i think the source is AC.

    #39183
    Support
    Keymaster

    Could you send me an example with memory leak?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.