Re: [fpc-devel] Memory leak @ tobjectdef.getcopy

2019-12-01 Thread Sven Barth via fpc-devel
Am 01.12.2019 um 18:08 schrieb bla...@blaise.ru: On 01.12.2019 19:15, bla...@blaise.ru wrote: With the following two exceptions, there are no other assigned(vmtentries) checks before dereferencing. And one assertion @ TVMTBuilder.generate_vmt : if assigned(_class.childof) then  

Re: [fpc-devel] Memory leak @ tobjectdef.getcopy

2019-12-01 Thread Sven Barth via fpc-devel
Ryan Joseph via fpc-devel schrieb am So., 1. Dez. 2019, 19:06: > Blaise how are the closures coming? I think you have enough done you could > submit it into trunk so we can start testing. Please if you can get to this > we have people willing to help. It's been some 6 months now since I offered

Re: [fpc-devel] Memory leak @ tobjectdef.getcopy

2019-12-01 Thread Ryan Joseph via fpc-devel
Blaise how are the closures coming? I think you have enough done you could submit it into trunk so we can start testing. Please if you can get to this we have people willing to help. It's been some 6 months now since I offered to help and it's still in limbo. Sorry to pester you but we're

Re: [fpc-devel] Memory leak @ tobjectdef.getcopy

2019-12-01 Thread Blaise
On 01.12.2019 19:15, bla...@blaise.ru wrote: With the following two exceptions, there are no other assigned(vmtentries) checks before dereferencing. And one assertion @ TVMTBuilder.generate_vmt : if assigned(_class.childof) then begin if not

[fpc-devel] Memory leak @ tobjectdef.getcopy

2019-12-01 Thread Blaise
1) Maybe it was not always the case, but tobjectdef.vmtentries is never nil (initialised to an empty list @ .create & @ .ppuload. With the following two exceptions, there are no other assigned(vmtentries) checks before dereferencing. I propose that these two useless checks be removed. @