Correct. Well, convicted of "committing the practice of witchcraft and sorcery". It's far more complicated than as if she was convicted of being a "Salem witch" or something just because she pulled a rabbit out of a hat or made David Copperfield disappear. Under Sharia Law, she wouldn't have been convicted of fraud or negligent homicide, but rather apostasy, (which conveniently covers sorcery, witchcraft, blasphemy and anything else that those in power find objectionable), which is a religious crime.
Saudi has no written code of law, but instead uses an interpretive form of Islamic law. Rape, murder, apostasy, armed robbery and drug trafficking are all crimes punishable by death under Saudi sharia law. Sorcery and witchcraft often fall under the apostasy category, usually after a joke of a trial where the verdict and sentence is known before the trial ever begins. It is in effect, "We're gonna charge you with this, investigate it, then have a trial where you will be found guilty, and then we'll cut off your head. Have a nice day."