View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001924 | JEDI VCL | 00 JVCL Components | public | 2004-07-03 18:48 | 2004-07-04 05:50 |
Reporter | glchapman | Assigned To | user72 | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001924: TJvCustomPreviewControl.Delete leaves stale pointer in Page list | ||||
Description | Note here: procedure TJvCustomPreviewControl.Delete(Index: Integer); begin TMetaFile(FPages[Index]).Free; end; The page (metafile) is freed, but the reference to it is left in the FPages list. A better implementation would be something like this: procedure TJvCustomPreviewControl.Delete(Index: Integer); var page: TMetaFile; begin page:= FPages[Index]; FPages.Delete(Index); page.Free; Change; end; | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2004-07-03 18:48 | glchapman | New Issue | |
2004-07-04 05:50 |
|
Status | new => resolved |
2004-07-04 05:50 |
|
Resolution | open => fixed |
2004-07-04 05:50 |
|
Assigned To | => user72 |
2004-07-04 05:50 |
|
Note Added: 0004678 |