upstream fix to a free-after-use bug

Part of a fix for linphone call display name corruption.
Release: 2