I was reading the original R20 documentation, when the above question popped up.
Luckily, the latest online SDK documentation contains a BaseDocument Manual, where it mentions (if I understand it correctly) that
KillDocument is to be called to remove a BaseDocument from the list.
KillDocument should only be used if a BaseDocument was created and inserted in the list (via
So, as long as I use
IsolateObjects without performing an
InsertBaseDocument I should be fine with calling BaseDocument::Free to free the obtained basedocument.
If I perform an
IsolateObjects and subsequently call
InsertBaseDocument then I should use