[SHELL32]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 5 Oct 2012 10:51:54 +0000 (10:51 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 5 Oct 2012 10:51:54 +0000 (10:51 +0000)
- Fix yet another missing "this->", spotted by Igor Sudarikov
CORE-6722 #resolve #comment Good catch, thanks.

svn path=/trunk/; revision=57486

reactos/dll/win32/shell32/folders/mycomp.cpp

index 46fc206..bdd5444 100644 (file)
@@ -727,7 +727,7 @@ HRESULT WINAPI CDrivesFolder::SetNameOf(HWND hwndOwner, LPCITEMIDLIST pidl,
     }
 
     wcscpy(sName, lpName);
-    SHFree(sName);
+    SHFree(this->sName);
     this->sName = sName;
     TRACE("result %s\n", debugstr_w(sName));
     return S_OK;