Usermode/libaxwin4 - Handle demarshal failure
[tpg/acess2.git] / KernelLand / Modules / Storage / LVM / main.c
index 7d747c1..501e8a7 100644 (file)
@@ -111,6 +111,8 @@ int LVM_Cleanup(void)
                Mutex_Acquire(&vol->VolNode.Lock);
                if( vol->Type->Cleanup )
                        vol->Type->Cleanup( vol->Ptr );
+               if( vol->CacheHandle )
+                       IOCache_Destroy(vol->CacheHandle);
                LOG("Removed volume %s", vol->Name);
                free(vol);
        }

UCC git Repository :: git.ucc.asn.au