[or-cvs] [tor/master] Answer question from Roger.

nickm at torproject.org nickm at torproject.org
Mon Jun 14 22:29:44 UTC 2010


Author: Nick Mathewson <nickm at torproject.org>
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



More information about the tor-commits mailing list