diff --git a/src/util/vfs/vfs-lzma.c b/src/util/vfs/vfs-lzma.c index d56883c48..a1c259ee4 100644 --- a/src/util/vfs/vfs-lzma.c +++ b/src/util/vfs/vfs-lzma.c @@ -105,6 +105,7 @@ struct VDir* VDirOpen7z(const char* path, int flags) { if (res != SZ_OK) { SzArEx_Free(&vd->db, &vd->allocImp); File_Close(&vd->archiveStream.file); + free(vd->lookStream.buf); free(vd); return 0; }