A woman who set her husband on fire has been given a suspended jail sentence for manslaughter.

Rajini Narayan set fire to her husband at their Adelaide home in December 2008 after finding out he was having an affair.

Supreme Court Justice John Sulan said Narayan's husband had been abusive to her during their marriage.

The judge accepted she momentarily snapped.

During the trial, Narayan said she only intended burning her husband's genitals so he would stay with her.

Justice Sulan said it was difficult decision but the six-year jail sentence warranted suspension.

Narayan hugged her family after the sentencing.