Justin Smith singed a two-year contract extension making him a 49er through 2015, the team announced Wednesday. San Francisco's defensive stalwart was set to become an unrestricted free agent following the upcoming season.