winbindd: Avoid using deallocated memory