[MPlayer-dev-eng] memory leak in the libaf/af.c

Andrew Savchenko Bircoph at list.ru
Sat Feb 10 01:27:39 CET 2007


Hello,

In function af_data_t* af_play() (libaf/af.c, line 507)
af pointer is initialized (af_instance_t* af=s->first;) but it is 
not freed anywhere. This memory leak is confirmed with valgrind 
and occurs when seeking to another file in playlist.

Obvious patch seems to fix this. Please review.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070210/68d639b6/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af.c.memleak_fix.patch
Type: text/x-diff
Size: 238 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070210/68d639b6/attachment.patch>


More information about the MPlayer-dev-eng mailing list