mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Fix double pointer freed.
This commit is contained in:
@@ -1177,6 +1177,5 @@ void* aaruf_open(const char* filepath)
|
|||||||
ctx->libraryMajorVersion = LIBAARUFORMAT_MAJOR_VERSION;
|
ctx->libraryMajorVersion = LIBAARUFORMAT_MAJOR_VERSION;
|
||||||
ctx->libraryMinorVersion = LIBAARUFORMAT_MINOR_VERSION;
|
ctx->libraryMinorVersion = LIBAARUFORMAT_MINOR_VERSION;
|
||||||
|
|
||||||
free(idxEntries);
|
|
||||||
return ctx;
|
return ctx;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user