From df80ba81c9c254e1aa8afa6808fac6ae7a589e9b Mon Sep 17 00:00:00 2001 From: Nicolas Noble <nnoble@google.com> Date: Wed, 11 Feb 2015 16:05:29 -0800 Subject: [PATCH] Freeing the proper string in gpr_tmpfile. Fixes #478. (oops) --- src/core/support/file_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/support/file_win32.c b/src/core/support/file_win32.c index af7eebe3de..7749d4553f 100644 --- a/src/core/support/file_win32.c +++ b/src/core/support/file_win32.c @@ -76,7 +76,7 @@ end: *tmp_filename_out = gpr_tchar_to_char(tmp_filename); } - gpr_free(tmp_filename); + gpr_free(template_string); return result; } -- GitLab