Removed MallocIO.cpp as it wasn't being built, and BMallocIO implementation is in DataIO.cpp.

We might want to split them again, but keeping that old file around was counterproductive.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10824 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-01-18 08:44:03 +00:00
parent 7696124772
commit d0733791ae
2 changed files with 2 additions and 235 deletions
+2 -14
View File
@@ -1,5 +1,5 @@
//------------------------------------------------------------------------------
// Copyright (c) 2001-2002, OpenBeOS
// Copyright (c) 2001-2005, Haiku, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
@@ -28,24 +28,13 @@
// BMallocIO and BMemoryIO classes implement the protocol,
// as does BFile in the Storage Kit.
//------------------------------------------------------------------------------
// Standard Includes -----------------------------------------------------------
#include <algorithm>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
// System Includes -------------------------------------------------------------
#include <DataIO.h>
// Project Includes ------------------------------------------------------------
// Local Includes --------------------------------------------------------------
// Local Defines ---------------------------------------------------------------
// Globals ---------------------------------------------------------------------
// *** BDataIO ***
@@ -312,8 +301,7 @@ BMallocIO::BMallocIO()
// Destruction
BMallocIO::~BMallocIO()
{
if (fData)
free(fData);
free(fData);
}