memory leaks caused by selective_sao
Issue #617
new
as selective_sao may close m_sao for some frames as different types & whether referenced by others,
when m_sao was set to 0 by this resons, the related resouces will not be released。
the below attachments is an patch which fixed this memory_leak。