Add the butter and olive oil to a medium-sized heavy-based saucepan over medium heat. When the butter starts to foam, add the onion and cook for 8–10 minutes, until softened but not crisp or golden.
Add the garlic, ginger, spices, chilli flakes and curry leaves and cook for another 2–3 minutes.