[go: up one dir, main page]

Menu

Commit [r425]  Maximize  Restore  History

Storing the class data parents in an array is dangerous as SetLength can call ReallocMem which moves everything to another place, thus leading to dangling pointers in already existing objects.

In the end, the parent pointer was already available as the self pointer of the parent, so we use it and no longer need an array of parent pointers.

obones 2014-01-02

changed /trunk/src/common/gnugettext.pas