[Bug 276818] [libc] mtx_init memory leak

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Feb 2024 10:09:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276818

--- Comment #2 from Hodong <hodong@nimfsoft.art> ---
Created attachment 248171
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248171&action=edit
fix a memory leak

pthread_mutexattr_destroy(&attr);

I added this.
This doesn't cause any memory leaks, but I don't know if it's the right way to
do it or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.