snd_card_get_name uses strdup (Valgrind).

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Feb 1 06:37:44 CST 2012


Hi

there's a small memory leak in winealsa, tentatively plugged by
patches #83353, #83334 and #82900.

It would be nice if somebody who feels like struggling with const warnings in gcc
would get a fix accepted in git.

The dilemma: a literal "foo" is a const char*, free() does not want a const
and casts are the root of all evil in C.

Thank you,
 Jörg Höhle


More information about the wine-devel mailing list