The potential data already read in `instance_weights` listbase needs to be freed, instead of just clearing the listbase. Also move some (very old!) versioning code out of Particle's 'lib_link' code into proper versioning code.
The potential data already read in `instance_weights` listbase needs to be freed, instead of just clearing the listbase. Also move some (very old!) versioning code out of Particle's 'lib_link' code into proper versioning code.