file->relname was being edited when its length allocated at the size of the original name, realloc'ing failed because the old string was still used by a button.
file->relname was being edited when its length allocated at the size of the original name, realloc'ing failed because the old string was still used by a button.