Add an error check that the path being linked doesn't match the current blend file. Also resolve reference leak in the case of library override errors.
Add an error check that the path being linked doesn't match the current blend file. Also resolve reference leak in the case of library override errors.