diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-06 07:02:14 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-07-06 07:02:14 +0000 |
commit | 8cacfce898f2fcacc08292592b4ccb74602fc83d (patch) | |
tree | f513524d577f706f55846e1d71d14b63fa109a9f /kbx | |
parent | kbx: Use es_sysopen_nc instead of es_fdopen_nc. (diff) | |
download | gnupg-8cacfce898f2fcacc08292592b4ccb74602fc83d.tar.gz gnupg-8cacfce898f2fcacc08292592b4ccb74602fc83d.zip |
kbx: Fix memory leak at spawning a thread for data pipe.
* kbx/kbx-client-util.c (prepare_data_pipe): Release
the attribute for thread creation.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'kbx')
-rw-r--r-- | kbx/kbx-client-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kbx/kbx-client-util.c b/kbx/kbx-client-util.c index ca791d4a3..9c7b57f2f 100644 --- a/kbx/kbx-client-util.c +++ b/kbx/kbx-client-util.c @@ -167,6 +167,7 @@ prepare_data_pipe (kbx_client_data_t kcd) return err; } + npth_attr_destroy (&tattr); return 0; } |