Plug a ref leak