View Issue Details

IDProjectCategoryView StatusLast Update
0005076JEDI VCL00 JVCL Componentspublic2009-12-28 16:47
Reporterm0n5terAssigned Toobones 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.39 
Target VersionFixed in Version 
Summary0005076: Error with inherit TJvMemoryData
Descriptionclass TMemoryData:public TJvMemoryData
{
    public:
        __fastcall TMemoryData(Classes::TComponent* AOwner){}
        __fastcall ~TMemoryData(){}
};


TMemoryData* mem = new TMemoryData(NULL);
delete mem; //Current line is always "Access violation...."
Additional Informationwith 3.32 all works fine
TagsNo tags attached.

Activities

obones

2009-12-28 16:47

administrator   ~0017035

You are not calling the ancestor constructor in your own constructor.
No doubt that this crashes everything...

Issue History

Date Modified Username Field Change
2009-12-25 13:27 m0n5ter New Issue
2009-12-28 16:47 obones Note Added: 0017035
2009-12-28 16:47 obones Status new => resolved
2009-12-28 16:47 obones Resolution open => no change required
2009-12-28 16:47 obones Assigned To => obones