BW Fixed resource AVFramework resource leak.