Re: Enummedia memleak fix
May 7, 2005
12:12 p.m.
Maarten Lankhorst <m.b.lankhorst(a)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(a)winehq.org
7629
Age (days ago)
7629
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard