1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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 <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-07-06 16:02:14 +09:00
parent 2abea42d9c
commit 8cacfce898
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -167,6 +167,7 @@ prepare_data_pipe (kbx_client_data_t kcd)
return err; return err;
} }
npth_attr_destroy (&tattr);
return 0; return 0;
} }