There also seems to be a bug with freeing the allocated nodes. According to the autodocs, the nodes should be freed on disposal.
But when I do (after DisposeObject() ):CHOOSER_Labels (struct List *)
List of labels. Each node must be allocated with the AllocChooserNodeA() function. The list will be freed automatically when the object is disposed of.
Code: Select all
while ( (node = IExec->RemHead(list)) )
{
IChooser->FreeChooserNode(node);
}