Use manual ref and delete to hopefully fix CID #44349