From 8ec5fd245a420532a566e09b4d8cc5ea46312165 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Sat, 1 Mar 2003 01:12:26 +0000 Subject: [PATCH] Finally got around to removing the BFont memory leak git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2854 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/interface/Font.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/headers/os/interface/Font.h b/headers/os/interface/Font.h index 5f0f7674fc..d220b7f0f3 100644 --- a/headers/os/interface/Font.h +++ b/headers/os/interface/Font.h @@ -142,9 +142,6 @@ public: BFont(void); BFont(const BFont &font); BFont(const BFont *font); - /* XXX TODO: R5 doesn't have a destructor, so we get linking errors when objects compiled with old headers with the new library - ~BFont(void); - */ status_t SetFamilyAndStyle(const font_family family, const font_style style); @@ -263,8 +260,7 @@ private: uint16 fFace; uint32 fFlags; font_height fHeight; - BFontPrivate *private_data; - uint32 _reserved[2]; + uint32 _reserved[3]; void SetPacket(void *packet) const; void GetTruncatedStrings64(const char *stringArray[],