diff options
Diffstat (limited to 'o3d')
-rw-r--r-- | o3d/plugin/cross/o3d_glue.cc | 1 | ||||
-rw-r--r-- | o3d/plugin/win/main_win.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/o3d/plugin/cross/o3d_glue.cc b/o3d/plugin/cross/o3d_glue.cc index cce9f2a..aa0b54d 100644 --- a/o3d/plugin/cross/o3d_glue.cc +++ b/o3d/plugin/cross/o3d_glue.cc @@ -834,6 +834,7 @@ PluginObject *PluginObject::GetPluginProperty(HWND hWnd) { void PluginObject::ClearPluginProperty(HWND hWnd) { if (hWnd) { + // TODO: convert to using app::win::ScopedProp. RemoveProp(hWnd, kWindowPropertyName); ::DragAcceptFiles(hWnd, false); } diff --git a/o3d/plugin/win/main_win.cc b/o3d/plugin/win/main_win.cc index 225125b..1cbceb8 100644 --- a/o3d/plugin/win/main_win.cc +++ b/o3d/plugin/win/main_win.cc @@ -700,6 +700,7 @@ void CleanupAllWindows(PluginObject *obj) { GetProp(obj->GetPluginHWnd(), kOrigWndProcName)); DCHECK(origWndProc != NULL); + // TODO: this leaks. RemoveProp(obj->GetPluginHWnd(), kOrigWndProcName); SetWindowLongPtr(obj->GetPluginHWnd(), GWLP_WNDPROC, origWndProc); |