[Bug 276818] [libc] mtx_init memory leak

[email protected] Sun, 04 Feb 2024 10:09:11 +0000
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276818

--- Comment #2 from Hodong <[email protected]> ---
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.