The SPA state news agency quoted a ministry official on Saturday naming Abd Al-Rahman al-Harbi as the explosives expert who allegedly took part in an attack on a Riyadh housing compound last year.
A statement said he fired on security guards at the Muhaya housing compound and drove an explosives-laden car into the complex last November.
The bombing, blamed on al-Qaida, killed 18 people.
Al-Harbi was shot and killed in Makka last Wednesday. He was wanted for "direct participation in criminal activities of the deviant group and providing it with explosive devices and rigged cars".
However, a security source had earlier identified the man killed in Makka as Salih al-Badrani.
Neither name was on a Saudi most wanted list of 26 people, 12 of whom are still on the run.
Anti-government fighters have waged a 15-month campaign of bombings and shootings in the oil-rich kingdom aimed at destabilising the monarchy.
Foreigners, state institutions and the oil industry have all been targeted. About 90 policemen and civilians, many of them foreigners, have been killed.