This addresses several memory leaks that I found trying to track down why the RPi runs out of memory after playing a few videos.
[fix] memory leak in AudioEngine.
[fix] Memory leak of the CLibcdio. Now using a boost::shared_ptr to t…
[fix] leak in anination/Tweem/VisibilityEffect using referenc counting.
[fix] leak in LircButtonMapEntries.
[fix] partial fix for leaks of JSONRPC meta-data. There are circular …
…shared_ptr references that need to be sorted out before this will work properly.
added a number of the settings collections to be cleared in the Clear…
… method for better memory management.
[fix] use the cleanup code that was added in the previous fix from th…
…e CApplication shutdown.
if you feel confident, inject
Merge pull request #1946 from jimfcarroll/fix-several-memory-leaks
Fix several memory leaks
Still memory leak when playing online movies. Only solution is set unlimited cache buffer in advenced settings and write cache on sd card. When i downgrade kernel to 3.2 everything is perfect.