[Bug 43390] valgrind shows a few definite leaks in dlls/xaudio2_7/tests/ xaudio2.c

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 23 00:05:52 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=43390

--- Comment #4 from Austin English <austinenglish at gmail.com> ---
(In reply to Ethan Lee from comment #3)
> Looks like there are three categories of error:
> 
> 1. XAPOFX leaks. These are definitely bugs! I think we're just missing a
> Release in xapo.c somewhere.
> 2. Leak warnings for voices. This is probably because we don't free voice
> memory until IXAudio2_Release, so when we leave the tests without freeing
> any of the voices it thinks we've leaked.
> 3. Leak warnings in XAudio2 callbacks. This may just be that we're running
> ok()s in a separate thread than the main one, but I'm not sure why it would
> warn just because of that... in any case, we don't allocate/free anything in
> the callbacks, so this one's probably okay(?).

Hi Ethan,

Could you either send a PR against
https://github.com/austin987/wine-valgrind-scripts, or give me some more
details/regex of what we can ignore? And maybe fix the real bugs as well ;)?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list