[MPlayer-dev-eng] [PATCH] Few memory leaks

Ivan Kalvachev ivan at cacad.com
Mon Nov 15 05:26:00 CET 2004


I attach 3 patches that I am going to commit tomorrow.

The first one fix 2 X related leaks - Forgotten freeing of XvImage formats array, and allocated by X color definition.

The second one just frees waveformat block in sh_audio when the rest blocks in sh_audio are freed, usually right before freeing sh_audio itself.

The third patch simply allow freeing freetype description and library right before exit of mplayer. 

Wish You Best
   Ivan Kalvachev
  iive

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xv_leak.patch
Type: application/octet-stream
Size: 1888 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041115/bbee2389/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shaudio_wavefmt.patch
Type: application/octet-stream
Size: 551 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041115/bbee2389/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetype_leak.patch
Type: application/octet-stream
Size: 940 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041115/bbee2389/attachment-0002.obj>


More information about the MPlayer-dev-eng mailing list