mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
w32: Free memory allocated by new function w32_write_console.
* common/ttyio.c (w32_write_console): Free buffer. -- (cherry picked from commit 31b708e268ebb725307856865f34a61670a35586)
This commit is contained in:
parent
90aadf69f7
commit
ebdb62a98a
@ -241,6 +241,7 @@ w32_write_console (const char *string)
|
||||
log_fatal ("WriteConsole failed: %lu != %lu\n",
|
||||
(unsigned long)n, (unsigned long)nwritten);
|
||||
last_prompt_len += n;
|
||||
xfree (wstring);
|
||||
}
|
||||
#endif /*HAVE_W32_SYSTEM*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user