England flanker Phil Dowson grabbed a try in the second half for the Saints, with wing Jamie Elliott getting another and stand-off Ryan Lamb booting 20 points as the Dragons fought bravely for an hour.
Home wing Tonderai Chavhanga got only the third try hat-trick in Dragons history but that was not enough as defeat to Bath last week and the loss to Northampton means they are out of the competition.
Mallinder said: "I am relieved and pleased with that result, really.
"It is always tough to come down to Wales and the Dragons were very competitive and pushed us all the way. It was a good first half and we created a lot of chances.
"The Dragons defended well but we got on top in the second half and controlled the game. We put their forwards under a lot of pressure and eventually they lost someone to the sin-bin.
"The maul went well and the scrum also went well. Ryan Lamb was good and kicked well to the corners for us to play in the right positions."
It was Dowson's 100th game for the Saints and Mallinder said: "He is back and forth with England on Monday and Tuesdays and then back with us on Wednesdays so it can't be easy for him."
Home coach Darren Edwards took positives from his side's performance despite a seventh loss in a row for the Dragons.
He said: "We couldn't get our hands on the ball at times which was a shame for us because, when we did, we looked very dangerous.
"We are disappointed but there are positives to come out of this. We fronted up to the stiff challenge and I was happy with that."
Gilbert has released a new line of rugby cleats. The Gilbert Virtuo 8S is part of the exciting new product. Check it out.
The Barbarians are one of the top invitational rugby sides with a long history and classic rugby jersey.
The Nike Tiempo is a solid rugby cleat and one of few styles still made from full-grain natural leather.
The Lions get ready for their matches with this green training jersey. It's what the players wear. Get in the Gear!
A cool looking all black rugby cleat with the high performance adidas is known for. Get in the Gear!
Wear the crest of the British and Irish Lions on your t-shirt. A great look for the summer.
The Lions are ready to get their Australia tour underway. They arrive in Perth on Monday.
The New Zealand All Blacks training jersey for 2013/14. Get in the Gear!
The USA Rugby Pro Alternate rugby jersey is perfect for any fan of the Eagles. Get yours to wear during the summer Test matches.
The NEW All Blacks 2013/14 jersey has arrived at World Rugby Shop. Dare to wear the colors of the All Blacks.