summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-06-14 18:32:44 -0400
committerNick Mathewson <nickm@torproject.org>2010-06-14 18:32:44 -0400
commit7be7f151989591b7e3b510fdc65121c7fab783e6 (patch)
treee261f04f059dc95b6eaaa6efa7422ec3558eb399
parent9f31a0098d6c0e10f47aac81b6195bf6b6063687 (diff)
downloadtor-7be7f151989591b7e3b510fdc65121c7fab783e6.tar.gz
tor-7be7f151989591b7e3b510fdc65121c7fab783e6.zip
Answer question from Roger.
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index b6d71ebe23..fdba58b6be 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);