mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Read data blocks, except for media tags.
This commit is contained in:
@@ -53,9 +53,17 @@ int close(void *context)
|
||||
return -1;
|
||||
}
|
||||
|
||||
// This may do nothing if imageStream is NULL, but as the behaviour is undefined, better sure than sorry
|
||||
if(ctx->imageStream != NULL)
|
||||
fclose(ctx->imageStream);
|
||||
|
||||
free(ctx->sectorPrefix);
|
||||
free(ctx->sectorPrefixCorrected);
|
||||
free(ctx->sectorSuffix);
|
||||
free(ctx->sectorSuffixCorrected);
|
||||
free(ctx->sectorSubchannel);
|
||||
free(ctx->mode2Subheaders);
|
||||
|
||||
free(context);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user