diff options
author | NIIBE Yutaka <[email protected]> | 2025-09-02 04:54:50 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2025-09-02 04:54:50 +0000 |
commit | 106d73de86855db0b39346ee6b65886c0d685c0e (patch) | |
tree | fee16fa76cf5f3cc9b2c3b2fc2745ff2745da0d2 | |
parent | dirmngr,gpg,scd,sm,tools: Minor fixes for es_free. (diff) | |
download | gnupg-106d73de86855db0b39346ee6b65886c0d685c0e.tar.gz gnupg-106d73de86855db0b39346ee6b65886c0d685c0e.zip |
agent:w32: Fix non-release of MAPSID.
* agent/gpg-agent.c (putty_message_proc): Don't call xfree with
MAPSID. It's a reference to an object inside PSD.
--
GnuPG-bug-id: 7799
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | agent/gpg-agent.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 3dcb6281b..9227eec10 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -2685,7 +2685,6 @@ putty_message_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) xfree (ctrl); if (data) UnmapViewOfFile (data); - xfree (mapsid); if (psd) LocalFree (psd); xfree (mysid); |