bddb8f14d1
Fini kernel is executed during the invocation of amd::Program destructor, but the dispatch logic can retain/release the reference counter and cause double free. Avoid double free with an extra retain() call