Removes a crash in the BApplication tests. Some tests work now.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8036 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2004-06-18 06:34:30 +00:00
parent fc17fe17eb
commit 843f00a15e
+3 -3
View File
@@ -1,5 +1,5 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Copyright (c) 2001-2002, OpenBeOS // Copyright (c) 2001-2004, OpenBeOS
// //
// Permission is hereby granted, free of charge, to any person obtaining a // Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"), // copy of this software and associated documentation files (the "Software"),
@@ -828,8 +828,8 @@ BBitmap::BBitmap(const BBitmap *source, bool acceptsViews,
*/ */
BBitmap::~BBitmap() BBitmap::~BBitmap()
{ {
if (fBasePtr) // if (fBasePtr)
free(fBasePtr); // free(fBasePtr);
} }
// unarchiving constructor // unarchiving constructor