diff --git a/extlib/benz/state.c b/extlib/benz/state.c index 0caa2a6b..8ab9e296 100644 --- a/extlib/benz/state.c +++ b/extlib/benz/state.c @@ -429,6 +429,9 @@ pic_close(pic_state *pic) /* free all heap objects */ pic_gc_run(pic); + /* flush all xfiles */ + xfflush(NULL); + /* free heaps */ pic_heap_close(pic, pic->heap);