Free CD ECC context when closing.

This commit is contained in:
2022-10-03 19:32:25 +01:00
parent 72f6def8c2
commit 32e0f3f5bf

View File

@@ -138,6 +138,9 @@ int aaruf_close(void* context)
free(ctx->readableSectorTags);
ctx->readableSectorTags = NULL;
free(ctx->eccCdContext);
ctx->eccCdContext = NULL;
// TODO: Free caches
free(context);