Enummedia memleak fix
Alexandre Julliard
julliard at winehq.org
Sat May 7 07:12:54 CDT 2005
Maarten Lankhorst <m.b.lankhorst at gmail.com> writes:
> Fixed 2 small memory leaks in enummedia (my fault, not used to while
> loops..)
>
> Note that there are 2 ways to fix it:
> while (--i) .. -> while (i--) ..
> while (--i) .. -> while (--i >= 0) ..
>
> I chose the second, but I don't think it matters ;)
In that case it matters a lot, since i is unsigned...
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list