Fix memory leaks & Use correct "delete" for arrays
bump samba for darwin from 3.6.0 to 3.6.12
[rbp] Fix for broken ASS subtitles.

The video fifo patch broke some types of subtitles including ASS.
This keeps closer track of when the sleep time would have ended and calls FlipPage at the appropriate time.
I've also removed the 500ms in the sleep time calculation as that makes the subs render 500ms late. Not sure what its purpose was.
Merge pull request #2206 from popcornmix/fix_video_fifo_ass

[rbp] Fix for broken ASS subtitles.
Merge pull request #2219 from ulion/bump_darwin_samba_3_6_12

bump samba for darwin from 3.6.0 to 3.6.12

Fixes access to samba server running on osx 10.7 and later (was worked around by custom samba package via smbup which is superseeded by this).
[osx] fixs #13907, fixes #13740 and tastes good too. VDA issues on intel/ati GPUs
Merge pull request #2208 from asmaloney/mem_problems

Fix memory leaks & use correct "delete" for arrays