From b9873a803ccef450b0fb37752d1795467d575bf4 Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Fri, 23 Dec 2022 17:19:09 +0300 Subject: [PATCH] fix(core): a little bug fix --- src/core/shoppyou.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/shoppyou.c b/src/core/shoppyou.c index 9087832..035f635 100644 --- a/src/core/shoppyou.c +++ b/src/core/shoppyou.c @@ -84,6 +84,7 @@ int shoppyou_open(Shoppyou *shoppyou, const char *path) { fprintf(stderr, "Failed to dump shoppyou: failed to open file '%s'\n", path); return 1; } + shoppyou->holes = NULL; return shoppyou_load(shoppyou); }