Kodi Community Forum
[MAC] Memory leaks everytime VDADecoderDecode is called - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: [MAC] Memory leaks everytime VDADecoderDecode is called (/showthread.php?tid=110091)



[MAC] Memory leaks everytime VDADecoderDecode is called - Andrea3000 - 2011-09-14

Hi all,
I have just run xbmc through Instruments to find memory leaks and I noticed that everytime the function VDADecoderDecode is called, a 16 bytes leak is recorded.
Is it normal? Is there a leak in Apple API?


- davilla - 2011-09-14

show me Smile Instruments will show what is being leaked.


- Andrea3000 - 2011-09-14

davilla Wrote:show me Smile Instruments will show what is being leaked.

Are these images enought? Sorry but I use Instruments very rarely..

http://dl.dropbox.com/u/11879013/img1.png
http://dl.dropbox.com/u/11879013/img2.png
http://dl.dropbox.com/u/11879013/img3.png
http://dl.dropbox.com/u/11879013/img4.png


- davilla - 2011-09-15

VDADecoderDecode is apple's API. As far as I know, we are using the API in the proper way. So must be an apple bug.


- Andrea3000 - 2011-09-15

davilla Wrote:VDADecoderDecode is apple's API. As far as I know, we are using the API in the proper way. So must be an apple bug.

Is it the case for file a bug at Apple?


- Andrea3000 - 2011-09-18

I want to inform you that this leak has been fixed in Lion


- D-tyme - 2011-09-19

Andrea3000 Wrote:I want to inform you that this leak has been fixed in Lion

...to bad the audio bug hasn't No