View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001836 | JEDI VCL | 00 JVCL Components | public | 2004-06-05 02:31 | 2004-06-08 02:38 |
Reporter | SVitaliy | Assigned To | user72 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001836: Memory leak in TJvgGroupBox | ||||
Description | Memory leak occurs in TJvgGroupBox.Paint at line 421 in file JvgGroupBox. Objects TBrush, TPen, TFont, TBitmapCanvas are created but newer released. | ||||
Tags | No tags attached. | ||||
|
I'm sorry, but that file doesn't create any object of the mentionned types. What lead you to say there is a memory leak in that function ? Are you sure it is not the AfterPaint handler that is leaking ? |
2004-06-05 23:35
|
MDIAPP_MemCheck.log (27,632 bytes) |
|
I am using “MemCheck: the ultimate memory troubles hunter†(http://v.mahon.free.fr/pro/freeware/memcheck) – memory leak manager. It leads me to say that there is a memory leak. This information really may be wrong. However, this is for the first time when MemCheck fault. I am upload file report of MemCheck. P.S. When I first looked for the source code, I could not understand cause of the memory leak in that function. |
|
I had found real memory leak: objects FGlyphCollapsed and FGlyphExpanded not released. Solution is adding their destruction in destructor of TJvgGroupBox. (I had check). I am sorry that first pointer to error is invalid. |
|
Fixed in CVS |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-06-05 02:31 | SVitaliy | New Issue | |
2004-06-05 20:23 | obones | Note Added: 0004480 | |
2004-06-05 20:27 | obones | Status | new => feedback |
2004-06-05 23:35 | SVitaliy | File Added: MDIAPP_MemCheck.log | |
2004-06-05 23:36 | SVitaliy | Note Added: 0004482 | |
2004-06-06 03:33 | SVitaliy | Note Added: 0004483 | |
2004-06-08 02:38 |
|
Status | feedback => resolved |
2004-06-08 02:38 |
|
Resolution | open => fixed |
2004-06-08 02:38 |
|
Assigned To | => user72 |
2004-06-08 02:38 |
|
Note Added: 0004494 |