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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to