PPA

[patch] headerBuf

2 posts in this topic

Index: windows/TransferView.h

===================================================================

--- windows/TransferView.h (revision 371)

+++ windows/TransferView.h (working copy)

@@ -46,7 +46,6 @@

DECLARE_WND_CLASS(_T("TransferView"))

TransferView() : PreviewAppsSize(0) {

- headerBuf = new TCHAR[128];

}

virtual ~TransferView(void);

@@ -143,7 +142,6 @@

}

private:

- TCHAR * headerBuf;

class ItemInfo;

int PreviewAppsSize;

Index: windows/TransferView.cpp

===================================================================

--- windows/TransferView.cpp (revision 371)

+++ windows/TransferView.cpp (working copy)

@@ -37,7 +37,6 @@

ResourceManager::IP_BARE, ResourceManager::RATIO};

TransferView::~TransferView() {

- delete[] headerBuf;

arrows.Destroy();

speedImages.Destroy();

DestroyIcon(user);

Share this post


Link to post
Share on other sites

--- HubFrame.cpp (revision 129)

+++ HubFrame.cpp (working copy)

@@ -1132,7 +1132,7 @@

if(finddlg->DoModal() == IDOK) {

param = finddlg->line;

}

- delete[] finddlg;

+ delete finddlg;

return param;

}

Share this post


Link to post
Share on other sites