Free-agent offensive lineman Geoff Schwartz, who visited the 49ers on Tuesday, has agreed to a one-year deal with the Vikings instead, according to Schwartz's agent. Schwartz, 25, had visited the Vikings before the 49ers. Schwartz also was being pursued by the Lions.
The 49ers were eying Schwartz for the right guard spot that was left vacant when Adam Snyder signed with the Cardinals last week. The 49ers likely would have wanted Schwartz, who played both right guard and right tackle for Carolina, to compete with second-year player Daniel Kilgore for the spot.
In Minnesota, Schwartz likely will fill the vacancy at left guard, the position Steve Hutchinson has played in the past. Hutchinson is now with the Titans. The 49ers and Vikings will play this year, and Schwartz will find himself matched against Justin Smith at times.
The 49ers also have met with veteran guard Leonard Davis, 33, during free agency.
-- Matt Barrows