Pārlūkot izejas kodu

Answer question from Roger.

Nick Mathewson 14 gadi atpakaļ
vecāks
revīzija
7be7f15198
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/or/config.c

+ 2 - 1
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);