From 8018cd7f61018f073af27995519672d5ae745363 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 2 Jan 2011 14:36:25 +0000 Subject: [PATCH] Also initialize fCachedBlock, as it is used in the destructor. Related to CID 10271, though that's actually the only member it doesn't mention. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40068 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/loader/file_systems/fat/Volume.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/boot/loader/file_systems/fat/Volume.cpp b/src/system/boot/loader/file_systems/fat/Volume.cpp index 83ea095641..fae51c9ca9 100644 --- a/src/system/boot/loader/file_systems/fat/Volume.cpp +++ b/src/system/boot/loader/file_systems/fat/Volume.cpp @@ -26,6 +26,7 @@ using namespace FATFS; Volume::Volume(boot::Partition *partition) : + fCachedBlock(NULL), fRoot(NULL) { TRACE(("%s()\n", __FUNCTION__));