mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +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
|
class barInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
barInfo()
|
||||||
|
{
|
||||||
|
memset(&borderSpace, 0, sizeof(borderSpace));
|
||||||
|
hwnd = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
RECT borderSpace;
|
RECT borderSpace;
|
||||||
CComPtr<IUnknown> clientBar;
|
CComPtr<IUnknown> clientBar;
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
|
@ -703,7 +709,6 @@ CShellBrowser::CShellBrowser()
|
||||||
fCurrentDirectoryPIDL = NULL;
|
fCurrentDirectoryPIDL = NULL;
|
||||||
fStatusBar = NULL;
|
fStatusBar = NULL;
|
||||||
fStatusBarVisible = true;
|
fStatusBarVisible = true;
|
||||||
memset(fClientBars, 0, sizeof(fClientBars));
|
|
||||||
fCurrentMenuBar = NULL;
|
fCurrentMenuBar = NULL;
|
||||||
fHistoryObject = NULL;
|
fHistoryObject = NULL;
|
||||||
fHistoryStream = NULL;
|
fHistoryStream = NULL;
|
||||||
|
|
Loading…
Reference in a new issue