mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:42:58 +00:00
[SHELL32]
* Fix gcc compilation. [BROWSEUI/RSHELL] * Use virtual destructors and cleanup with delete in the creator functions. * Try to fix a bit the "close" flow, so that less circular references remain when the filebrowser windows are closed. svn path=/branches/shell-experiments/; revision=63539
This commit is contained in:
parent
580b89e9b6
commit
72aa759dd4
16 changed files with 328 additions and 266 deletions
|
@ -45,7 +45,7 @@ HRESULT WINAPI CMenuSite_Constructor(REFIID riid, LPVOID *ppv)
|
|||
hr = site->QueryInterface(riid, ppv);
|
||||
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
site->Release();
|
||||
delete site;
|
||||
#endif
|
||||
|
||||
return hr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue