aboutsummaryrefslogtreecommitdiff
path: root/src/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs.c')
-rw-r--r--src/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs.c b/src/fs.c
index 6553810..ca44675 100644
--- a/src/fs.c
+++ b/src/fs.c
@@ -183,6 +183,7 @@ struct pw_fs *pw_fs_init(char const *path) {
}
pw_tar_free(tar);
+ tar = NULL;
} else if (path) {
SDL_LogWarn(0, "could not open cart storage: %s", SDL_GetError());
} else {