From: Nick Mathewson Date: Mon, 14 Jun 2010 22:32:44 +0000 (-0400) Subject: Answer question from Roger. X-Git-Tag: tor-0.2.2.14-alpha~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7be7f151989591b7e3b510fdc65121c7fab783e6;p=thirdparty%2Ftor.git Answer question from Roger. --- 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);