[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [tor/master] Answer question from Roger.
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Mon, 14 Jun 2010 18:32:44 -0400
Subject: Answer question from Roger.
Commit: 7be7f151989591b7e3b510fdc65121c7fab783e6
---
src/or/config.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c
index b6d71eb..fdba58b 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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);
--
1.6.5