transfer: fix variable not set to nullptr
transfer: fix variable not set to nullptr

Issue: #81134
Change-Id: Iec94c90a8a2af47e18dbca8bfeef93efc6e95859

savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc