mirror of
https://github.com/simon987/sist2.git
synced 2025-12-13 07:19:06 +00:00
Fix memory leak with virtual files in parse.c
This commit is contained in:
@@ -168,7 +168,7 @@ void fill_image(fz_context *ctx, UNUSED(fz_device *dev),
|
||||
}
|
||||
}
|
||||
|
||||
void parse_pdf(void *buf, size_t buf_len, document_t *doc) {
|
||||
void parse_pdf(const void *buf, size_t buf_len, document_t *doc) {
|
||||
|
||||
if (buf == NULL) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user