mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Answer question from Roger.
This commit is contained in:
parent
9f31a0098d
commit
7be7f15198
@ -3735,7 +3735,8 @@ get_windows_conf_root(void)
|
||||
result = SHGetPathFromIDListW(idl, wpath);
|
||||
wcstombs(path,wpath,MAX_PATH);
|
||||
|
||||
/* Now we need to free the ... XXX free the what? */
|
||||
/* Now we need to free the memory that the path-idl was stored in. In
|
||||
* typical Windows fashion, we can't just call 'free()' on it. */
|
||||
SHGetMalloc(&m);
|
||||
if (m) {
|
||||
m->lpVtbl->Free(m, idl);
|
||||
|
Loading…
Reference in New Issue
Block a user