From 174eafd74cd14581ce34ac082c43ee211dfb8726 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 12 Apr 2025 18:10:40 -0400 Subject: [PATCH] Update libfst from upstream --- include/gtkwave/fstapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gtkwave/fstapi.c b/include/gtkwave/fstapi.c index 465845d48..82ca1bd6c 100644 --- a/include/gtkwave/fstapi.c +++ b/include/gtkwave/fstapi.c @@ -4756,7 +4756,7 @@ fstReaderContext *fstReaderOpen(const char *nam) ((xc->fh) || (xc->contains_hier_section || (xc->contains_hier_section_lz4)))) { /* more init */ xc->do_rewind = 1; - } else { + } else if (!rc) { fstReaderClose(xc); xc = NULL; }