Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Feb 2024 10:09:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        threads@FreeBSD.org
Subject:   [Bug 276818] [libc] mtx_init memory leak
Message-ID:  <bug-276818-13406-YYGugoSqV2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276818-13406@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276818-13406@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276818-13406-YYGugoSqV2>