From a8635fc601b5d4d7b3f588549d933891686bd65d Mon Sep 17 00:00:00 2001 From: jakcron Date: Tue, 29 Sep 2015 16:24:44 +0800 Subject: [PATCH] makerom: fixed linux segfault when using prebuilt romfs binaries. --- makerom/romfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/makerom/romfs.c b/makerom/romfs.c index 64190c4..9e3956a 100644 --- a/makerom/romfs.c +++ b/makerom/romfs.c @@ -45,8 +45,6 @@ int BuildRomFs(romfs_buildctx *ctx) void FreeRomFsCtx(romfs_buildctx *ctx) { - if(ctx->romfsBinary) - fclose(ctx->romfsBinary); if(ctx->fs){ fs_FreeFiles(ctx->fs); fs_FreeDir(ctx->fs);