Possible fix for bug #1748079: CRASH: gschem segfault on file save or open