Bug#718129: Re: Re: Bug#715461: libsdl-mixer1.2: no sf2 sound fonts loaded by default

Fabian Greffrath fabian at greffrath.com
Mon Aug 26 10:25:52 UTC 2013


Am Dienstag, den 20.08.2013, 09:58 +0200 schrieb Fabian Greffrath: 
> Yes, it does. However, I would have added a check if the pointer is
> already set prior to resetting it, e.g. 
> 
> if (!soundfont_paths)
> soundfont_paths = SDL_strdup(...);
> 
> But this is really just nit-picking.

Wait, does SDL_strdup() allocate new memory and isn't the current
solution leaking memory when Mix_Init() is repeatedly called?

- Fabian



More information about the Pkg-sdl-maintainers mailing list