Skip to content

Commit

Permalink
manually patch easylzma PR lloyd/easylzma#7 to prevent memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Aug 22, 2022
1 parent 16cb296 commit 63b3f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/easylzma/compress.c
Expand Up @@ -66,7 +66,7 @@ elzma_compress_free(elzma_compress_handle * hand)
(ISzAlloc *) &((*hand)->allocStruct),
(ISzAlloc *) &((*hand)->allocStruct));
}

free(*hand);
}
*hand = NULL;
}
Expand Down

0 comments on commit 63b3f3d

Please sign in to comment.