Cleaned up a few little things
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2411 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
755ac1744b
commit
bb87c791cb
@ -101,8 +101,10 @@ BBitmapStream::~BBitmapStream()
|
||||
{
|
||||
if (!fDetached)
|
||||
delete fBitmap;
|
||||
fBitmap = NULL;
|
||||
|
||||
delete fpBigEndianHeader;
|
||||
fpBigEndianHeader = NULL;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
|
@ -91,10 +91,8 @@ BFuncTranslator::BFuncTranslator(const translator_data *kpData) : BTranslator()
|
||||
// ---------------------------------------------------------------
|
||||
BFuncTranslator::~BFuncTranslator()
|
||||
{
|
||||
if (fpData) {
|
||||
delete fpData;
|
||||
fpData = NULL;
|
||||
}
|
||||
delete fpData;
|
||||
fpData = NULL;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user