]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Answer question from Roger.
authorNick Mathewson <nickm@torproject.org>
Mon, 14 Jun 2010 22:32:44 +0000 (18:32 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 14 Jun 2010 22:32:44 +0000 (18:32 -0400)
src/or/config.c

index b6d71ebe232b085f0516c9b4f0785483e4179463..fdba58b6bef53e0565f1177ff922e744cfa8e1f1 100644 (file)
@@ -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);