mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[BROWSEUI] Do not clear a CComPtr with memset.
This commit is contained in:
parent
6d9a0d0fd4
commit
e5f9029826
|
@ -273,6 +273,12 @@ private:
|
|||
class barInfo
|
||||
{
|
||||
public:
|
||||
barInfo()
|
||||
{
|
||||
memset(&borderSpace, 0, sizeof(borderSpace));
|
||||
hwnd = NULL;
|
||||
}
|
||||
|
||||
RECT borderSpace;
|
||||
CComPtr<IUnknown> clientBar;
|
||||
HWND hwnd;
|
||||
|
@ -703,7 +709,6 @@ CShellBrowser::CShellBrowser()
|
|||
fCurrentDirectoryPIDL = NULL;
|
||||
fStatusBar = NULL;
|
||||
fStatusBarVisible = true;
|
||||
memset(fClientBars, 0, sizeof(fClientBars));
|
||||
fCurrentMenuBar = NULL;
|
||||
fHistoryObject = NULL;
|
||||
fHistoryStream = NULL;
|
||||
|
|
Loading…
Reference in a new issue