From 7be7f151989591b7e3b510fdc65121c7fab783e6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 14 Jun 2010 18:32:44 -0400 Subject: [PATCH] Answer question from Roger. --- src/or/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);