mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Read uncompressed user data deduplication table.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <dicformat.h>
|
||||
#include <malloc.h>
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
int close(void *context)
|
||||
{
|
||||
@@ -82,6 +83,10 @@ int close(void *context)
|
||||
free(ctx->mediaTagsHead);
|
||||
}
|
||||
|
||||
if(!ctx->inMemoryDdt)
|
||||
{
|
||||
munmap(ctx->userDataDdt, ctx->mappedMemoryDdtSize);
|
||||
}
|
||||
free(context);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user