diff options
Diffstat (limited to 'src/fs/virtfile.cpp')
-rw-r--r-- | src/fs/virtfile.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/virtfile.cpp b/src/fs/virtfile.cpp index 9f9ab6e98..fb719f05c 100644 --- a/src/fs/virtfile.cpp +++ b/src/fs/virtfile.cpp @@ -27,11 +27,13 @@ #include "debug.h" VirtFile::VirtFile() : - mPrivate(nullptr) + mPrivate(nullptr), + mBuf(nullptr) { } VirtFile::~VirtFile() { delete2(mPrivate); + delete [] mBuf; } |