Fix careless unlink call in `instance_change()`

Reporter: JoshDreamland  |  Status: closed  |  Last Modified: April 23, 2017, 12:10:12 PM
Use instance_destroy(id, call_destroy) instead, as this handles cleaning up dangling iterators. This function is still a major hack; not sure who wrote it. At least now it won't segfault.

Fixes #1045.

Please sign in to post comments, or you can view this issue on GitHub.