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
1 changed files with 1 additions and 0 deletions

View File

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